File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
Reconnect to activemq
Joined: Jul 09, 2013
Sep 05, 2013 03:54:15
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.
I agree. Here's the link:
subject: Reconnect to activemq
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015