[rabbitmq-discuss] surviving a consumer disconnection using DefaultConsumer

Michael Klishin mklishin at gopivotal.com
Wed Apr 9 09:18:18 BST 2014


On 9 April 2014 at 12:01:41, rails (stammailbox at gmail.com) wrote:
> > Did you mean DefaultConsumer.handleShutdownSignal?

See Shutdown Protocol in [1]. 

> I just found that in the new 3.3.0 version the following methods  
> were added
> connectionFactory.setAutomaticRecoveryEnabled(true);  
> connectionFactory.setTopologyRecoveryEnabled(true);  

They are not just for consumer recovery, although it’s recommended that you use
this feature or Lyra instead of rolling you own. See Automatic Recovery From Network Failures
in [1].

1. http://rabbitmq.com/api-guide.html
--  
MK  

Software Engineer, Pivotal/RabbitMQ


More information about the rabbitmq-discuss mailing list