Register / Login
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
EJB and other Java EE Technologies
ActiveMQ High Availability dynamic slave configurations
posted 4 years ago
I am quite new to ActiveMQ. I am trying to have High Availability feature implemented. And all I noticed in ActiveMQ is that if I have to specify the failover url, I have to specify that in code like,
String url = "failover://(tcp://localhost:61616,tcp://localhost:62001)?randomize=false"; ActiveMQConnectionFactory factory = new ActiveMQConnectionFactory(url);
So it means that, If I have to add one more Slave, I need to go and change the URL here and redeploy the changes. Or Either I need to have this URL in some property file.
Is there any other alternative configuration available to pick the dynamically added Slaves automatically
Thanks In advance.
Boost this thread!
Errors upon trying to use ActiveMQ
Help with sample JMS program. Getting NoClassDefFoundError, ClassNotFoundException
JMS Consumer not receiving any messages.
ActiveMQ, Queue Failover Question