<div dir="ltr">Hi,�<div>Did you mean��DefaultConsumer.handleShutdownSignal?</div><div><br></div><div>I just found that in the new 3.3.0 version the following methods were added�</div><div><pre style="margin-top:0px;margin-bottom:10px;padding:5px;border:0px;font-size:14px;vertical-align:baseline;background-color:rgb(238,238,238);font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;overflow:auto;width:auto;max-height:600px;word-wrap:normal;color:rgb(0,0,0);line-height:17.804800033569336px">
<code style="margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;white-space:inherit">connectionFactory.setAutomaticRecoveryEnabled(true);
connectionFactory.setTopologyRecoveryEnabled(true);</code></pre></div><div><br></div><div>Just what I needed.</div><div>Thanks.�</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 8, 2014 at 9:18 PM, Michael Klishin <span dir="ltr"><<a href="mailto:mklishin@gopivotal.com" target="_blank">mklishin@gopivotal.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 8 April 2014 at 19:38:38, rails (<a href="mailto:stammailbox@gmail.com">stammailbox@gmail.com</a>) wrote:<br>

> > I cant catch the exception inside and recreate the connection<br>
> This only recovers when the ack fails. What if it fails in another<br>
> stage of the process? How should I recover these fails?<br>
<br>
</div>What are you trying to recover from? If you want to recover from network failures,<br>
you need to use shutdown listeners, not exceptions.�<br>
--<br>
MK<br>
<br>
Software Engineer, Pivotal/RabbitMQ<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>
</blockquote></div><br></div>