[jbossts-issues] [JBoss JIRA] (JBTM-2349) CompensationContext is destroyed once the first handler is invoked
Gytis Trikleris (JIRA)
issues at jboss.org
Thu Mar 5 04:03:49 EST 2015
Gytis Trikleris created JBTM-2349:
-------------------------------------
Summary: 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.0.5
https://github.com/jbosstm/narayana/blob/master/compensations/src/main/java/org/jboss/narayana/compensations/impl/ParticipantImpl.java#L95
https://github.com/jbosstm/narayana/blob/master/compensations/src/main/java/org/jboss/narayana/compensations/impl/ParticipantImpl.java#L118
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.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jbossts-issues
mailing list