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-t
>From what I read, I would only need to add failover:(tcp://localhost:61616)
as the connection url for the broker and activeMQ does all the reconnecting
for me. However I can't seem to get this right. The program waits for the
broker to go online and is able to read messages out of the queue when
t