Use the failover protocol.
http://activemq.apache.org/failover-transport-reference.html
Sandeep Chayapathi wrote:
Hi all,
This is a follow up to my
http://www.nabble.com/ActiveMQ-and-REST-tf3996071s2354.html REST question.
I have successfully setup apache tomcat running the amq's messagelistener
servlet. I also have a cluster of activemq, how do I configure the servlet's
brokerURL to failover ? I have tried the static://(...) way and it doesn't
work.
Any help is appreciated. Thanks.
- Sandeep