Method OnConnectionEvent(ConnectionEvent, CancellationToken)
Fired when a supervised connection of an endpoint changes: lost, a reconnect attempt failed, restored. The
listener gets the event from the context's queue after the change, so it cannot hold up or break the reconnect; an
exception it throws is logged. React with what the context already offers: alert, or stop, restart or fail the
route (controlbus:route, ). Do not resend messages from here: a send that failed
on a lost connection may have arrived.
Task OnConnectionEvent(ConnectionEvent connectionEvent, CancellationToken ct)