[rabbitmq-discuss] Advice on where to reset connection and channel
jhalterman at gmail.com
Mon Mar 31 05:56:27 BST 2014
Late response, but you might check out Lyra - A RabbitMQ client designed to
handle every failure scenario that could reasonably occur via flexible
On Sat, Feb 15, 2014 at 9:09 PM, cw storm <cwstorm at gmail.com> wrote:
> I'm interested in knowing how everyone uses the connection listener
> "ShutDownListener" and the consumer callback "handleShutDownSignal". Both
> of these will be executed in an event a connection was close or a restart
> of the broker server. I don't think I would want to include the function
> to re-establish the connection/channel in both of the handlers. So, where
> would I perform the re-connect logic. Maybe I should just pick one.
> Also, another consumer callback name "handleCancel". This will only be
> invoke when an unexpected cancellation by the broker. That would also mean
> I would have to reconsume from the other node by creating another
> connection/channel. I assume this does not get invoke during a restart of
> the broker or a force close connection. That would only apply to the two
> that I mentioned, right?
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss