Nathan Kunkee created QPID-6229:
-----------------------------------

             Summary: Enable non-transacted connections with AMQP-08, -09, -091
                 Key: QPID-6229
                 URL: https://issues.apache.org/jira/browse/QPID-6229
             Project: Qpid
          Issue Type: Bug
          Components: JCA
    Affects Versions: 0.30, 0.29
         Environment: Glassfish 4, Wildfly 8.1
            Reporter: Nathan Kunkee


Currently, jca/src/main/java/org/apache/qpid/ra/QpidRAManagedConnection.java 
does not distinguish between transacted setups and non-transacted setups. It 
will always try and create a _xaSession, even if the user has declined by 
setting the connection factory to NoTransaction, or setting the property 
UseLocalTx to true.

The attached patch changes the setup() method in QpidRAManageConnection to only 
create _xaSession objects when transactions have been requested.

Without this patch, it is impossible to use the JCA adapter with older 
protocols (amqp-08, -09, -091).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to