Thanks for you answer!

*In my environment, hostA on port 61616, hostB on 61617.*

When master down, slave becomes master. Producer can failover, but consumer
not with the same configuration.

String brokerUrl = "failover:(tcp://localhost:61616,tcp://localhost:61617)";

What troubles me is why the producer works fine, consumer is over.

--
View this message in context: 
http://activemq.2283324.n4.nabble.com/master-slave-consumer-can-not-failover-tp4653639p4653661.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to