See
http://www.rabbitmq.com/upgrade.html#rabbitmq-restart-handling.
When a node shuts down it will forcefully close all connections by sending a connection.close frame.
I'd need to take a look at the docs to tell what's the best way to handle those in the Erlang client
but the recovery procedure is the same for all clients.
First thing that comes to mind is that the process(es) that open RabbitMQ connections should monitor them/link to them
and should connection go down, terminate and let their supervisor restart them. Handling outstanding
operations and outstanding publisher confirms is the hard part then but if you only consume, using
manual acknowledgements should be all you need:
http://rabbitmq.com/confirms.html.
> --
> You received this message because you are subscribed to the Google Groups "rabbitmq-users"
> group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
rabbitmq-user...@googlegroups.com.
> To post to this group, send an email to
rabbitm...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
>
--
MK
Staff Software Engineer, Pivotal/RabbitMQ