[rabbitmq-discuss] surviving a consumer disconnection using DefaultConsumer

Michael Klishin mklishin at gopivotal.com
Tue Apr 8 19:18:56 BST 2014

On 8 April 2014 at 19:38:38, rails (stammailbox at gmail.com) wrote:
> > I cant catch the exception inside and recreate the connection  
> This only recovers when the ack fails. What if it fails in another  
> stage of the process? How should I recover these fails?

What are you trying to recover from? If you want to recover from network failures,
you need to use shutdown listeners, not exceptions. 

Software Engineer, Pivotal/RabbitMQ

More information about the rabbitmq-discuss mailing list