activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Graf (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-5224) XA pooled connection factories are not recoverable
Date Thu, 12 Jun 2014 13:19:01 GMT

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

Benjamin Graf commented on AMQ-5224:
------------------------------------

Reason for recovery working with ActiveMQ pool might be a different usage than implemented
in Aries TX JMS



e.g.
<bean id="internalConnectionFactory" 
        class="org.apache.activemq.ActiveMQXAConnectionFactory">
           <argument value="tcp://localhost:61616" />
           <property name="userName" value="admin" />
           <property name="password" value="admin" />
</bean>

<bean id="connectionFactory" 
        class="org.apache.activemq.jms.pool.JcaPooledConnectionFactory"
                 init-method="start" destroy-method="stop">
           <property name="connectionFactory" ref="internalConnectionFactory"/>
           <property name="transactionManager" ref="transactionManager"/>
           <property name="name" value="activemq" />
</bean>

<bean id="resourceManager" class="org.apache.activemq.jms.pool.GenericResourceManager"

                 init-method="recoverResource">
           <property name="connectionFactory" ref="internalConnectionFactory"/>
           <property name="transactionManager" ref="transactionManager"/>
           <property name="resourceName" value="activemq" />
           <property name="userName" value="admin" />
           <property name="password" value="admin" />
</bean>

> XA pooled connection factories are not recoverable
> --------------------------------------------------
>
>                 Key: AMQ-5224
>                 URL: https://issues.apache.org/jira/browse/AMQ-5224
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.9.1, 5.10.0
>            Reporter: Guillaume Nodet
>
> PooledConnectionFactory#setConnectionFactory hides the XAConnectionFactory interface
which is used by the resource manager.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message