activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimir Sutskever <vsutske...@3cinteractive.com>
Subject Active MQ - fail-over uri configuration
Date Thu, 05 Dec 2013 21:55:49 GMT
Hi

I am using the a failover URI with ActiveMQ's  Connection Factory for a Java message consumer.

failover:(tcp://primary:61616,tcp://secondary:61616)?randomize=false


The connection successfully fails over to the secondary host once primary host is down.
But it won't get re-established back with primary host once the primary host goes back up.
I need to kill the secondary site to trigger the swap back to primary.

Is there a configuration that will ping the primary site and switch to it once its up?





Thanks

Vladimir

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message