public interface Recoverable
ConnectionFactory
,
ConnectionFactory.newConnection()
and Connection.createChannel()
return Recoverable
connections and channels.AutorecoveringConnection
,
AutorecoveringChannel
Modifier and Type | Method and Description |
---|---|
void |
addRecoveryListener(RecoveryListener listener)
Registers a connection recovery callback.
|
void |
removeRecoveryListener(RecoveryListener listener) |
void addRecoveryListener(RecoveryListener listener)
listener
- Callback functionvoid removeRecoveryListener(RecoveryListener listener)
Copyright © 2022 VMware, Inc. or its affiliates.. All rights reserved.