]
Thomas Jenkinson updated JBTM-1107:
-----------------------------------
Fix Version/s: 5.next
(was: 5.9.8.Final)
Recovery Support in Compensation API
------------------------------------
Key: JBTM-1107
URL:
https://issues.jboss.org/browse/JBTM-1107
Project: JBoss Transaction Manager
Issue Type: Feature Request
Components: Compensations
Reporter: Thomas Jenkinson
Assignee: Ondrej Chaloupka
Priority: Major
Fix For: 5.next
*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*
# Make handlers persistable (CompensationHandler, ConfirmationHandler,
TransactionLoggedHandler).
## Require Serializable interface.
## Create PersistableHandler interface (similar to PersistableParticipant in RTS
integration).
# Make participant persistable (ParticipantImpl, LocalParticipant, RemoteParticipant).
## Make transaction identifier persistable (converting it to String should work).
## Implement PersistableParticipant in ParticipantImpl.
## Investigate if PARTICIPANT_COUNTERS in ParticipatnImpl have to be updated.
# Make compensation scoped beans persistable.