activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bizcenter <>
Subject Re: master/slave, consumer can not failover
Date Fri, 29 Jun 2012 02:06:29 GMT
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:
Sent from the ActiveMQ - User mailing list archive at

View raw message