[rabbitmq-discuss] Java handleShutdownSignal startegy

Abhishek Kona abhishek.kona at gmail.com
Thu Feb 10 10:59:44 GMT 2011

Hi folks,

I am designing a system which needs to get updates by a push model.
I am using rabbitmq to publish messages to a queue.

The clients will be using the Channel.basicConsume for getting messages.
I want to know what are the best strategies for handling shutdown (due 
to RabbitMQ going down  and coming back up / network partition)  in the 
client code
In the method:


I want the clients to try to handle the shutdown by retrying for a few 
Are there any examples for this? or any pointers on how to go about it?

All thoughts are welcome.


Abhishek Kona

More information about the rabbitmq-discuss mailing list