You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Rob Godfrey <ro...@gmail.com> on 2014/12/05 12:21:54 UTC

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

Are there any committers out there who are familiar with the JCA component
and can review (and apply) the patch attached to QPID-6229 supplied last
month by one of our user community.  I'm not familiar enough with the
workings of that component to know if there would be any unintended
side-effects.

Thanks,
Rob
---------- Forwarded message ----------
From: Nathan Kunkee (JIRA) <ji...@apache.org>
Date: 17 November 2014 at 20:56
Subject: [jira] [Created] (QPID-6229) Enable non-transacted connections
with AMQP-08, -09, -091
To: dev@qpid.apache.org


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