Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-1107

Recovery Support in Compensation API

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Compensations
    • None

      Background
      Currently Compensations API cannot handle system failures. Transaction state is not persisted in any stage. Thus no handlers will be invoked in case of the system crash.

      Requirements

      1. Make handlers persistable (CompensationHandler, ConfirmationHandler, TransactionLoggedHandler).
        1. Require Serializable interface.
        2. Create PersistableHandler interface (similar to PersistableParticipant in RTS integration).
      2. Make participant persistable (ParticipantImpl, LocalParticipant, RemoteParticipant).
        1. Make transaction identifier persistable (converting it to String should work).
        2. Implement PersistableParticipant in ParticipantImpl.
        3. Investigate if PARTICIPANT_COUNTERS in ParticipatnImpl have to be updated.
      3. Make compensation scoped beans persistable.

            Unassigned Unassigned
            thjenkin@redhat.com Tom Jenkinson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: