Re: failover protocol not reconnecting to single boker

2016-06-08 Thread pompanoSlayer
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

failover protocol not reconnecting to single boker

2016-06-08 Thread pompanoSlayer
>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