activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Werner <>
Subject Re: Issue in example with failover
Date Tue, 09 Mar 2010 09:30:50 GMT

If I use the following url
-Durl='failover://(tcp://broker1:61616,tcp://broker2:61616)' I got the
following output:

root@broker1:/opt/apache-activemq-5.3.0/example # ant topic-listener
Buildfile: build.xml



     [java] 10:24:11 INFO  Successfully connected to tcp://broker1:61616
     [java] Waiting for messages...
< ... now I stop broker1 ...>
     [java] 10:24:25 WARN  Transport failed to tcp://broker1:61616 ,
attempting to automatically reconnect due to:
     [java] 10:24:25 INFO  Successfully reconnected to tcp://broker2:61616

Total time: 14 seconds
root@broker2:/opt/apache-activemq-5.3.0/example #

As you can see, it does reconnect successfully, but stops working after that


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message