You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Nathan Kunkee (JIRA)" <ji...@apache.org> on 2014/11/17 20:56:33 UTC

[jira] [Created] (QPID-6229) Enable non-transacted connections with AMQP-08, -09, -091

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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org