You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Benjamin Graf (JIRA)" <ji...@apache.org> on 2014/06/12 15:19:01 UTC
[jira] [Commented] (AMQ-5224) XA pooled connection factories are
not recoverable
[ 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)