[rabbitmq-discuss] Prevent consumer from disconnecting when node fail

Tim Watson watson.timothy at gmail.com
Mon Nov 19 14:22:21 GMT 2012


Hi,

The default clients won't to this for you automatically. Which client are you using? 

On 15 Nov 2012, at 12:36, Ilia Buleh <ilia at taykey.com> wrote:

> Hey,
> 
> 
> I'm currently using RabbitMQ on 2 nodes, lets say - node1 is 10.10.1.33 and node 10.10.1.34  Nodes are in cluster mode (active/active) .
> 
> When I connect my consumers to rabbitmq server I use the IP address of one of them.
> everything is working perfect until the node I was connected to fails and the consumer brutally get disconnected.
> 
> How can I make sure the consumers will reconnect automatically to the second node, without me changing the ip  and reconnect them manually. 
> 
> 
> Thank you !
> 
> -- 
> Ilia Buleh
> Taykey | www.taykey.com
> 
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20121119/abb3b119/attachment.htm>


More information about the rabbitmq-discuss mailing list