Register / Login
EJB and other Java EE Technologies
Reconnect to activemq
posted 3 years ago
I have a consumer which connects to activemq. Problem is when the activemq is restarted my consumer does not reconnect to activemq. So I need to restart my application for that. Can you please help me on how to go abt auto reconnect to activemq.
Got this info from apache website, but not sure where to edit the configuration.
Is it that I need to edit the following section of my broker-config.xml:
<transportConnector name="local.broker" uri="tcp://localhost:61616"/>
Have inserted space after "failover:" to avoid emoticons.
Thanks in advance.
It is sorta covered in the
JavaRanch Style Guide
JMS ActiveMQ JBOSS SSL
ActiveMQ High Availability dynamic slave configurations
Help with sample JMS program. Getting NoClassDefFoundError, ClassNotFoundException
Unable to connect to java.naming.provider.url value
wrong broker address with multicast lookup