com.rabbitmq.client.Recoverable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of amqp-client Show documentation
Show all versions of amqp-client Show documentation
The RabbitMQ Java client library allows Java applications to interface with RabbitMQ.
package com.rabbitmq.client;
/**
* Provides a way to register (network, AMQP 0-9-1) connection recovery
* callbacks.
*/
public interface Recoverable {
/**
* Registers a connection recovery callback.
*
* @param f Callback function
*/
public void addRecoveryListener(RecoveryListener listener);
public void removeRecoveryListener(RecoveryListener listener);
}