activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vtapadia <varesh.tapa...@gmail.com>
Subject Re: problem configuring durable subscriber with Spring and Atomikos (XA issue?)
Date Thu, 06 Aug 2015 08:42:38 GMT
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.

Mime
View raw message