<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>