activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spiderman2 <>
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. See 

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://, 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