activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paddycarman <>
Subject Connecting to Master/Slave from client libs (MQTT, STOMP etc.) and failover
Date Wed, 14 May 2014 20:12:28 GMT
Hi All,     
 In a Master/Slave setup AFAIK, the individual brokers have different IP
addresses. Let's say that a device would like to connect to a  Master/Slave
setup using a client lib (say MQTT). How do we do failover in this case? As
far as I understand, the failover protocol is only for JMS connections.

* Should the client know the IP addresses of both the Master and Slave and
handle connection failures on its own by connecting to the slave if the
master fails?

* Is there a way to advertise a single IP address for the Master/Slave setup
and hide the details of the setup from the client?

Thanks in advance.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message