Package com.rabbitmq.client
Interface RecoveryListener
-
public interface RecoveryListenerA RecoveryListener receives notifications about completed automatic connection recovery.- Since:
- 3.3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleRecovery(Recoverable recoverable)Invoked when automatic connection recovery has completed.voidhandleRecoveryStarted(Recoverable recoverable)Invoked before automatic connection recovery starts.
-
-
-
Method Detail
-
handleRecovery
void handleRecovery(Recoverable recoverable)
Invoked when automatic connection recovery has completed. This includes topology recovery if it was enabled.- Parameters:
recoverable- aRecoverableconnection.
-
handleRecoveryStarted
void handleRecoveryStarted(Recoverable recoverable)
Invoked before automatic connection recovery starts. This means no recovery steps were performed at this point during recovery process.- Parameters:
recoverable- aRecoverableconnection.
-
-