activemq-users mailing list archives

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

Hi, 


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.

Regards,
Marlon



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://150.0.0.1:61616), when the
> MASTER goes down, the SLAVE becomes MASTER but with the same url
> (tcp://150.0.0.1:61616) and the Client failover to it.
> 
> Thanks in advance. 
> 
> Matías.
> 

-- 
View this message in context: http://www.nabble.com/SLAVE-with-same-hostname-and-port-like-MASTER-tf3214835s2354.html#a8940745
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message