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

Gytis Trikleris (JIRA) issues at jboss.org
Wed Apr 8 03:50:18 EDT 2015


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

Gytis Trikleris updated JBTM-2349:
----------------------------------
        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done


> 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