<div dir="ltr">Hi Phil,<div><br></div><div>Late response, but you might check out Lyra - A RabbitMQ client designed to handle every failure scenario that could reasonably occur via flexible recovery/retry policies:</div><div>
<br></div><div><a href="https://github.com/jhalterman/lyra">https://github.com/jhalterman/lyra</a><br></div><div><br></div><div>Handled scenarios:</div><div><br></div><div><a href="https://github.com/jhalterman/lyra/wiki/Failure-Scenarios">https://github.com/jhalterman/lyra/wiki/Failure-Scenarios</a><br>
</div><div><br></div><div>Cheers,</div><div>Jonathan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Feb 15, 2014 at 9:09 PM, cw storm <span dir="ltr"><<a href="mailto:cwstorm@gmail.com" target="_blank">cwstorm@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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.<div>

<br></div><div>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?</div>

<div><br></div><div>-Phil</div></div>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>