<div dir="ltr">I issue a "sudo service rabbitmq-server restart" on the rabbit server. �I was hoping it'll execute my "ShutdownListener" block but I don't think it. �Just need confirmation if the restart will invoke the "ShutdownListener" or not. �If not, which function do I need to use to listen for when the rabbit server restart.<div>
<br></div><div><div>conn.addShutdownListener(new ShutdownListener() {</div><div>� � <span class="" style="white-space:pre">                               </span>public void shutdownCompleted(ShutdownSignalException cause)</div><div>� � <span class="" style="white-space:pre">                           </span>{</div>
</div><div>� � � � � � � � � � � � � � � � � � � � � � // handle scenarios</div><div><br></div><div>� � � � � � � � � � � � � � � � �}</div></div>