use "failover:(tcp://ip1:61616,tcp://ip2:61616)?randomize=false" for both
producer and consumer. both brokers JDBC to mssql server (also tried on
mysql, same results)

start ip1 then ip2 so ip1 get the lock and is now the master;

shutdown ip1 (now ip2 got the lock and is the master), producer keep working
but consumer paused;

bring up ip1 and shutdown ip2 (now ip1 is master again) , producer keep
working and consumer now continues.

any suggestion?

thanks!
-- 
View this message in context: 
http://old.nabble.com/failover-only-for-producers---tp29186173p29186173.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to