CompensationContext is destroyed once the first handler is invoked
------------------------------------------------------------------
Key: JBTM-2349
URL:
https://issues.jboss.org/browse/JBTM-2349
Project: JBoss Transaction Manager
Issue Type: Bug
Components: TXFramework
Reporter: Gytis Trikleris
Assignee: Gytis Trikleris
Priority: Critical
Fix For: 5.1.0
https://github.com/jbosstm/narayana/blob/master/compensations/src/main/ja...
https://github.com/jbosstm/narayana/blob/master/compensations/src/main/ja...
If there are two handlers (compensation or confirmation), which need to access the same
compensation scoped object, only the first one will succeed. Once the first handler is
invoked from the ParticipantImpl, CompensationScope is destroyed.