Ah, so the thread that come with failover protocol to reconnecting to the
broker is non-daemon. So I need to come up with a logic to keep the JVM
open.
Got it!
Thanks!
--
View this message in context:
http://activemq.2283324.n4.nabble.com/failover-protocol-not-reconnecting-to-single-boker
n context:
http://activemq.2283324.n4.nabble.com/failover-protocol-not-reconnecting-to-single-boker-tp4712783.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
What is keeping your program alive? Are you simply relying on the fact
that there is at least one non-daemon thread running
ystem.err.println("An exception occurred: " +
jmse.getMessage());
}
}
);
queueConnection.start();
I am not sure what I am missing or the failover protocol is not what I am
expecting it to do.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/failover-protocol-not-reconnecting-to