A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
ActiveMQ High Availability dynamic slave configurations
Joined: Jun 08, 2012
Jun 08, 2012 03:25:02
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.
subject: ActiveMQ High Availability dynamic slave configurations
Errors upon trying to use ActiveMQ
Help with sample JMS program. Getting NoClassDefFoundError, ClassNotFoundException
JMS Consumer not receiving any messages.
ActiveMQ, Queue Failover Question
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015