In QpidRASessionImpl prior to returning a reference we evaluate the ConnectionRequestInfo type looking for an XA connection. I believe this code was inadvertently introduced via cut-n-paste and doesn't make sense. Currently it is causing an issue for certain scenarios where we need to manually acknowledge a message via the standard JMS API. This code should be removed. ref: https://issues.apache.org/jira/browse/QPID-3731
Impact: It is not possible to manually call acknowledge() on a message - this leads to an exception - even if the call is valid according to spec.
*** Bug 772679 has been marked as a duplicate of this bug. ***
Verified with JCA adapter 0.14.