[jbossts-issues] [JBoss JIRA] (JBTM-2349) CompensationContext is destroyed once the first handler is invoked

Tom Jenkinson (JIRA) issues at jboss.org
Fri May 1 09:37:52 EDT 2015

     [ https://issues.jboss.org/browse/JBTM-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Jenkinson closed JBTM-2349.

> 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/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

More information about the jbossts-issues mailing list