You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/03/06 13:49:38 UTC

[jira] [Commented] (AMQ-5642) Add ActiveMQXAConnectionFactory to ra.xml

    [ https://issues.apache.org/jira/browse/AMQ-5642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14350292#comment-14350292 ] 

ASF GitHub Bot commented on AMQ-5642:
-------------------------------------

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 <jc...@redhat.com>
Date:   2015-03-06T12:45:38Z

    Changes for https://issues.apache.org/jira/browse/AMQ-5642.

----


> Add ActiveMQXAConnectionFactory to ra.xml
> -----------------------------------------
>
>                 Key: AMQ-5642
>                 URL: https://issues.apache.org/jira/browse/AMQ-5642
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: RAR
>    Affects Versions: 5.11.0
>            Reporter: Jochen Cordes
>
> Add ActiveMQXAConnectionFactory definition to ra.xml so that it can be used as an admin-object.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)