public abstract class DefaultConnectionListener extends Object implements ConnectionListener
| Constructor and Description |
|---|
DefaultConnectionListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onChannelRecovery(com.rabbitmq.client.Connection connection)
Called after the
connection and its channels are recovered from an unexpected closure. |
void |
onCreate(com.rabbitmq.client.Connection connection)
Called after the
connection is successfully created. |
void |
onCreateFailure(Throwable failure)
Called after connection creation fails.
|
void |
onRecovery(com.rabbitmq.client.Connection connection)
Called after the
connection is recovered from an unexpected closure, but before the
exchanges, queues, bindings, channels and consumers are recovered. |
void |
onRecoveryFailure(com.rabbitmq.client.Connection connection,
Throwable failure)
Called after the
connection fails to recover from an unexpected closure. |
public void onChannelRecovery(com.rabbitmq.client.Connection connection)
ConnectionListenerconnection and its channels are recovered from an unexpected closure.onChannelRecovery in interface ConnectionListenerpublic void onCreate(com.rabbitmq.client.Connection connection)
ConnectionListenerconnection is successfully created.onCreate in interface ConnectionListenerpublic void onCreateFailure(Throwable failure)
ConnectionListeneronCreateFailure in interface ConnectionListenerpublic void onRecovery(com.rabbitmq.client.Connection connection)
ConnectionListenerconnection is recovered from an unexpected closure, but before the
exchanges, queues, bindings, channels and consumers are recovered.onRecovery in interface ConnectionListenerpublic void onRecoveryFailure(com.rabbitmq.client.Connection connection,
Throwable failure)
ConnectionListenerconnection fails to recover from an unexpected closure.onRecoveryFailure in interface ConnectionListenerCopyright © 2014. All rights reserved.