<div dir="ltr">Actually, it should be "<b style="color:rgb(0,0,0)">handleShutdownSignal" not "ShutDownCompleted"</b></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 14, 2014 at 4:38 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">Thanks for the confirmation.  So you mean I need to implement the below like this in my consumer:<div><br>
</div><div><div>channel.basicConsume(strQueueName, false, strConsumerTag,</div><div><span style="white-space:pre-wrap">                   </span>new DefaultConsumer(channel) {</div>
</div><div class=""><div><div style="font-family:arial,sans-serif;font-size:13px"><div>                        public void shutdownCompleted(ShutdownSignalException cause)</div><div>    <span style="white-space:pre-wrap">                             </span>{</div>

</div><div style="font-family:arial,sans-serif;font-size:13px">                                            // handle scenarios</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">

                                 }</div></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 14, 2014 at 4:28 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><br>
On 15 Feb 2014, at 01:24, cw storm <<a href="mailto:cwstorm@gmail.com" target="_blank">cwstorm@gmail.com</a>> wrote:<br>
<br>
> "will trigger a shutdown in the Java client."<br>
><br>
> Are you referring to the "ShutDownSignalException" block?<br>
<br>
</div>The process described in <a href="http://www.rabbitmq.com/api-guide.html#shutdown" target="_blank">http://www.rabbitmq.com/api-guide.html#shutdown</a>,<br>
which will call shutdown listeners for connections, channels and consumers that<br>
have them.<br>
<div><div><br>
MK<br>
<br>
Software Engineer, Pivotal/RabbitMQ<br>
<br>
<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">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>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>