Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.29, 0.30
-
None
-
None
-
Glassfish 4, Wildfly 8.1
Qpid Java client 0.29 and 0.30
Description
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).