JMS client doesnot reconnect to broker 2 in case the topic subscriber did not consume any message so far.

2016-12-29 Thread Jaspreet Kaur
Hi, I am using ActiveMQ 5.14.1 I have a JMS consumer like ConnectionFactory connectionFactory = (ConnectionFactory) jndiLookup( "ConnectionFactory", "org.apache.activemq.jndi.ActiveMQInitialContextFactory",

Where can I find the JMS connection reconnection logic in activemq(-client) source?

2016-12-29 Thread Jaspreet Kaur
Hi, I am using ActiveMQ 5.14.1. I would like to observer in source code how/on what basis a JMS client connection & consumers are reconnected to second broker in case the first broker has been killed. I have create a JMS client like.. ConnectionFactory connectionFactory = (ConnectionFactory) jndi