Allow JMS XAResource to participate in J2EE transaction
-------------------------------------------------------

                 Key: CXF-2372
                 URL: https://issues.apache.org/jira/browse/CXF-2372
             Project: CXF
          Issue Type: Improvement
          Components: Integration
    Affects Versions: 2.2.2
            Reporter: Seumas Soltysik


The submitted patch provides the capability for a JMS XAResource to participate 
in the J2EE transaction when used in the context of the JCA adapater. Using 
transaction APIs defined by the JCA adapater spec, the JMS transport will 
register an XAResource associated with a JMSSession with the JCA connector, 
which will in turn enroll the XAResource in a transaction with the J2EE 
transaction manager. In order to facilitate the registering of the XAResoure, 
the JCA adapter must pass information via the Bus to the JMS transport. The JMS 
transport is then responsible for creating a MessageEndpoint and initiating a 
transaction by calling MessageEndpoint.beforeDelivery() and then closing the 
transaction by calling MessageEndpoint.afterDelivery()
See section 12.5.6 of the JCA specification for more details regarding these 
semantics.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to