Hi Frank,
this is the issue we had before (and apparently it reoccurred). The problem
is that example application you're running doesn't have any non-deamon
threads and as transport is disconnected, the application shuts down before
it can reconnect. This is usually not the case in "real" applicat
If I use the following url
-Durl='failover://(tcp://broker1:61616,tcp://broker2:61616)' I got the
following output:
r...@broker1:/opt/apache-activemq-5.3.0/example # ant topic-listener
-Durl='failover://(tcp://ppst-broker1:61616,tcp://broker2:61616)'
Buildfile: build.xml
init:
compile:
topic-l
Hi Dejan,
thanks for your reply. In fact, your example works ... unfortunately just
until one server fails :-(
If I stop the server the example is connected to, I got the following
output:
r...@broker1:/opt/apache-activemq-5.3.0/example # ant topic-listener
-Durl='failover://(tcp://broker1:6282
Hi Frank,
nio is a server-side protocol, so you shouldn't be using it in client URL's
try using -Durl="failover://(tcp://broker1:62828,tcp://broker2:62828)"
at least it worked when I tested it.
Cheers
--
Dejan Bosanac - http://twitter.com/dejanb
Open Source Integration - http://fusesource.com/