public interface ConnectionListener
| Modifier and Type | Method and Description |
|---|---|
void |
onConnectionClosed(com.rabbitmq.client.Connection connection)
Called when a connection was ultimately closed and no new connection is going to be established
in the future (this the case if the connection factory was teared down).
|
void |
onConnectionEstablished(com.rabbitmq.client.Connection connection)
Called when a connection was established the first time.
|
void |
onConnectionLost(com.rabbitmq.client.Connection connection)
Called when a connection was lost and the connection factory is trying to reestablish the
connection.
|
void onConnectionEstablished(com.rabbitmq.client.Connection connection)
connection - The established connectionvoid onConnectionLost(com.rabbitmq.client.Connection connection)
connection - The lost connectionvoid onConnectionClosed(com.rabbitmq.client.Connection connection)
connection - The closed connection