[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:
handleShutdownSignal
I want the clients to try to handle the shutdown by retrying for a few
times.
Are there any examples for this? or any pointers on how to go about it?
All thoughts are welcome.
Thanks
Abhishek Kona
More information about the rabbitmq-discuss
mailing list