GitHub user jcordes73 opened a pull request:
https://github.com/apache/activemq/pull/67
Changes for https://issues.apache.org/jira/browse/AMQ-5642.
This would allow for configuration in the resource-adapter like this:
```xml
<admin-object class-name="org.apache.activemq.ActiveMQXAConnectionFactory" jndi-name="java:/AMQXAConnectionFactory"
enabled="true" use-java-context="true" pool-name="AMQXAConnectionFactory">
<config-property name="brokerURL">
failover:(tcp://localhost:61616)?jms.rmIdFromConnectionId=true&amp;maxReconnectAttempts=0&amp;jms.xaAckMode=2&amp;jms.userName=admin&amp;jms.password=admin
</config-property>
</admin-object>
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jcordes73/activemq trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq/pull/67.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #67
----
commit aca502f0514b1c4c4eb5f812862e8476893a852f
Author: Jochen Cordes <jcordes@redhat.com>
Date: 2015-03-06T12:45:38Z
Changes for https://issues.apache.org/jira/browse/AMQ-5642.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---