public abstract class DefaultConnectionListener extends Object implements ConnectionListener
| Constructor and Description |
|---|
DefaultConnectionListener() |
| Modifier and Type | Method and Description |
|---|---|
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, along with its channels, is recovered from an unexpected
closure. |
void |
onRecoveryFailure(com.rabbitmq.client.Connection connection,
Throwable failure)
Called after the
connection fails to recover from an unexpected closure. |
public 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, along with its channels, is recovered from an unexpected
closure.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 © 2013. All rights reserved.