[rabbitmq-discuss] using autorecovery in case of broken connection

Michael Klishin mklishin at gopivotal.com
Mon May 19 12:17:04 BST 2014


On 19 May 2014 at 15:13:15, Aiman Ashraf (kurtrips at gmail.com) wrote:
> > Not sure if you noticed but the cause of the
> Caught an exception when recovering topology Caught an exception 
> while recovering queue 8923yrbk
> is
> Caused by: com.rabbitmq.client.AlreadyClosedException: 
> connection is already closed due to connection error; cause: 
> com.rabbitmq.client.MissedHeartbeatException: Heartbeat 
> missing with heartbeat = 45 seconds

Connection was closed due to a *missing heartbeat* .

You need to adapt heartbeat interval to be (ideally, a few times) greater than
recovery interval.
-- 
MK 

Software Engineer, Pivotal/RabbitMQ


More information about the rabbitmq-discuss mailing list