activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marlon Santos <>
Subject Re: SLAVE with same hostname and port like MASTER
Date Tue, 13 Feb 2007 09:08:58 GMT


AFAIK, binding 2 brokers with same uri will result in a bind exception
because the address is already used. And by the way, using failover is an
assurance that you will be connected to the slave when the master goes down
so there is no point in making the slave and master have the same uri.


Matías Cobiella wrote:
> Hi,
> Is there some way that one Client connects to a SLAVE with the same
> hostname and port of the MASTER host?
> I mean. The Client connect to the MASTER (tcp://, when the
> MASTER goes down, the SLAVE becomes MASTER but with the same url
> (tcp:// and the Client failover to it.
> Thanks in advance. 
> Matías.

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

View raw message