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

Gytis Trikleris (JIRA) issues at jboss.org
Wed Mar 11 09:53: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: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/jbosstm/narayana/pull/813

> 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

More information about the jbossts-issues mailing list