Package com.rabbitmq.client
Interface RecoveryListener
public interface RecoveryListener
A RecoveryListener receives notifications about completed automatic connection
recovery.
- Since:
- 3.3.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleRecovery(Recoverable recoverable) Invoked when automatic connection recovery has completed.voidhandleRecoveryStarted(Recoverable recoverable) Invoked before automatic connection recovery starts.default voidhandleTopologyRecoveryStarted(Recoverable recoverable) Invoked before automatic topology recovery starts.
-
Method Details
-
handleRecovery
Invoked when automatic connection recovery has completed. This includes topology recovery if it was enabled.- Parameters:
recoverable- aRecoverableconnection.
-
handleRecoveryStarted
Invoked before automatic connection recovery starts. This means no recovery steps were performed at this point during recovery process.- Parameters:
recoverable- aRecoverableconnection.
-
handleTopologyRecoveryStarted
Invoked before automatic topology recovery starts. This means that the connection and channel recovery has completed and that exchange/queue/binding/consumer recovery is about to begin.- Parameters:
recoverable- aRecoverableconnection.
-