activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spiderman2 <shawn.gan...@bridgewatersystems.com>
Subject Re: SLAVE with same hostname and port like MASTER
Date Mon, 12 Feb 2007 16:50:38 GMT

Another way to solve your problem is to use the "failover://" URI.

http://activemq.apache.org/failover-transport-reference.html See
http://activemq.apache.org/failover-transport-reference.html 

for an example on how a consumer can fail from a master to a slave.


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#a8927863
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message