public interface ConnectionListener
Connection related events.| 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. |
void onCreate(com.rabbitmq.client.Connection connection)
connection is successfully created.void onCreateFailure(Throwable failure)
void onRecovery(com.rabbitmq.client.Connection connection)
connection, along with its channels, is recovered from an unexpected
closure.void onRecoveryFailure(com.rabbitmq.client.Connection connection,
Throwable failure)
connection fails to recover from an unexpected closure.Copyright © 2013. All rights reserved.