You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by vtapadia <va...@gmail.com> on 2015/07/31 11:49:45 UTC
Re: problem configuring durable subscriber with Spring and Atomikos
(XA issue?)
Hi Max,
Very old issue, but I am facing the exact same issue.
The solution you have provided I guess removes the XA capabilities.
Did you get it to work?
Varesh
--
View this message in context: http://activemq.2283324.n4.nabble.com/problem-configuring-durable-subscriber-with-Spring-and-Atomikos-XA-issue-tp4654049p4700192.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: problem configuring durable subscriber with Spring and Atomikos
(XA issue?)
Posted by vtapadia <va...@gmail.com>.
Just for the sake of everyone, I was able to get the issue resolved by adding
a additional bean
@Bean(initMethod = "recoverResource")
public ActiveMQResourceManager resourceManager() {
ActiveMQResourceManager resourceManager = new
ActiveMQResourceManager();
resourceManager.setConnectionFactory(connectionFactory());
resourceManager.setTransactionManager(transactionManager());
resourceManager.setResourceName(resourceManagerName);
return resourceManager;
}
Hope this helps others also in the future.
--
View this message in context: http://activemq.2283324.n4.nabble.com/problem-configuring-durable-subscriber-with-Spring-and-Atomikos-XA-issue-tp4654049p4700481.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.