I've solved the problem by adding the following to the failover definition in my spring configuration files of the listener:
<property name="brokerURL" value="failover:(${host1},${host2})?jms.redeliveryPolicy.allPrefetchValues=${allPrefetchValues}&jms.redeliveryPolicy.initialRedeliveryDelay=${initialRedeliveryDelay}&jms.redeliveryPolicy.maximumRedeliveries=${maximumRedeliveries}&jms.redeliveryPolicy.useCollisionAvoidance=${useCollisionAvoidance}" /> before it was just: <property name="brokerURL" value="failover:(${host1},${host2})" /> -- View this message in context: http://www.nabble.com/Problems-with-ActiveMQ4.1.1---Master-Slave-brokers-tf3828185s2354.html#a10840281 Sent from the ActiveMQ - User mailing list archive at Nabble.com.