Have a look at the failover documentation, the answer lies there:
http://activemq.apache.org/nms/activemq-uri-configuration.html
On 10/21/2016 12:14 PM, ravican09 wrote:
True
activemq:failover:(tcp://brtuxjmsap02d.xxxx.net:61616)?transport.reconnectDelay=15000&transport.initialReconnectDelay=1000&connection.dispatchAsync=true
is there any way i can get exception ,so that we can avoid program hang
Thank you
--
View this message in context:
http://activemq.2283324.n4.nabble.com/NMS-Active-MQ-Error-handling-and-debuggin-in-C-tp4668567p4718245.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
--
Tim Bish
twitter: @tabish121
blog: http://timbish.blogspot.com/