[ https://issues.apache.org/jira/browse/AMQ-5638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14350300#comment-14350300 ]
Jochen Cordes commented on AMQ-5638: ------------------------------------ The credential can be set on the URL like this: failover:(tcp://localhost:61616)?jms.rmIdFromConnectionId=true&maxReconnectAttempts=0&jms.xaAckMode=2&jms.userName=admin&jms.password=admin Therefore I will close this issue as I haven't been able to manage to get XaPooledConnectionFactory working as an admin-object inside the resource-adapter as it doesn't implement XAConnectionFactory which was expected by the Hornetq JMS-bridge implementation. > Add option to set credentials on XaPooledConnectionFactory > ---------------------------------------------------------- > > Key: AMQ-5638 > URL: https://issues.apache.org/jira/browse/AMQ-5638 > Project: ActiveMQ > Issue Type: Improvement > Components: activemq-pool > Affects Versions: 5.11.0 > Reporter: Jochen Cordes > > In situations where it is not possible to pass a ActiveMQConnectionFactory to > the constructor of org.apache.activemq.pool.XaPooledConnectionFactory (i.e. > when using the resource-adapter) methods for setting the credentials on > XaPooledConnectionFactory are needed. > Once an ActiveMQConnectionFactory object is available, i.e. when the method > setBrokerUrl on org.apache.activemq.pool.XaPooledConnectionFactory these > methods can be used to propagate the credentials to ActiveMQConnectionFactory. -- This message was sent by Atlassian JIRA (v6.3.4#6332)