Register / Login
Win a copy of
Mesos in Action
this week in the
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.
Errors upon trying to use ActiveMQ
Help with sample JMS program. Getting NoClassDefFoundError, ClassNotFoundException
JMS Consumer not receiving any messages.
ActiveMQ, Queue Failover Question