public interface ConnectionListener
Connection related events.| 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. |
void onChannelRecovery(com.rabbitmq.client.Connection connection)
connection and its channels are recovered 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 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)
connection fails to recover from an unexpected closure.Copyright © 2014. All rights reserved.