You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2013/04/25 16:22:17 UTC

[jira] [Created] (AMQ-4486) ActiveMQResourceAdapter.getXARessources() broken

Gary Tully created AMQ-4486:
-------------------------------

             Summary: ActiveMQResourceAdapter.getXARessources() broken
                 Key: AMQ-4486
                 URL: https://issues.apache.org/jira/browse/AMQ-4486
             Project: ActiveMQ
          Issue Type: Bug
          Components: JCA Container
    Affects Versions: 5.8.0
            Reporter: Gary Tully
            Assignee: Gary Tully
             Fix For: 5.9.0


The Implementation of ActiveMQResourceAdapter.getXAResources() is broken.
Its internal call to makeConnection() creates a non-XA ActiveMQConnectionFactory which is then discarded as this ConnectionFactory is not XA-aware. As a result an empty XAResources array is returned.
This causes transaction recovery in the application server to fail.

Where the resource adapter can be manually configured (with beans for example) it is possible to work around by injecting the connection factory as an XA aware variant.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira