<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2014/1/19 Petar Georgiev <span dir="ltr"><<a href="mailto:petar.georgie@gmail.com" target="_blank">petar.georgie@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
how to detect the node failure - catch io exception?</blockquote></div><br><div>If you only use Channel#basicPublish, it may suffice.</div><div><br></div><div>Otherwise register shutdown a listener and check if the signal is not initiated</div>
<div>by the app:</div><div><a href="http://www.rabbitmq.com/api-guide.html#shutdown">http://www.rabbitmq.com/api-guide.html#shutdown</a><br></div>-- <br>MK<br><br><a href="http://github.com/michaelklishin" target="_blank">http://github.com/michaelklishin</a><br>
<a href="http://twitter.com/michaelklishin" target="_blank">http://twitter.com/michaelklishin</a><br>
</div></div>