[jbossts-issues] [JBoss JIRA] (JBTM-1505) WS-BA transaction context not propagated if JTA transaction present.

Paul Robinson (JIRA) jira-events at lists.jboss.org
Fri Mar 1 12:42:56 EST 2013


Paul Robinson created JBTM-1505:
-----------------------------------

             Summary: WS-BA transaction context not propagated if JTA transaction present.
                 Key: JBTM-1505
                 URL: https://issues.jboss.org/browse/JBTM-1505
             Project: JBoss Transaction Manager
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: TxBridge, XTS
            Reporter: Paul Robinson
            Assignee: Gytis Trikleris
             Fix For: 5.0.0.M3


With default-context-propagation enabled:

What happens if the Client is running in a JTA transaction, then begins a WS-BA transaction before calling a WS-BA enabled service? I suspect, as it stands, we would start a WS-AT transaction as well. This will cause the JaxBaseHeaderContextProcessor to default to WS-AT as it appears first in the if-then-elseif block:

{code}
            final CoordinationContextType coordinationContext ;
            if (atContext != null)
            {
                coordinationContext = atContext.getCoordinationContext() ;
            }
            else if (baContext != null)
            {
                coordinationContext = baContext.getCoordinationContext() ;
            }
{code}

I'm not yet sure how we handle this case. We certainly need a test for it though. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbossts-issues mailing list