public class DefaultConsumerListener extends Object implements ConsumerListener
| Constructor and Description |
|---|
DefaultConsumerListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onAfterRecovery(com.rabbitmq.client.Consumer consumer,
com.rabbitmq.client.Channel channel)
Called after the
consumer is recovered from an unexpected closure on the
channel. |
void |
onBeforeRecovery(com.rabbitmq.client.Consumer consumer,
com.rabbitmq.client.Channel channel)
Called before the
consumer is recovered from an unexpected closure on the
channel. |
void |
onRecoveryFailure(com.rabbitmq.client.Consumer consumer,
com.rabbitmq.client.Channel channel,
Throwable failure)
Called after the
consumer fails to recover from an unexpected closure on the
channel. |
public void onBeforeRecovery(com.rabbitmq.client.Consumer consumer,
com.rabbitmq.client.Channel channel)
ConsumerListenerconsumer is recovered from an unexpected closure on the
channel.onBeforeRecovery in interface ConsumerListenerpublic void onAfterRecovery(com.rabbitmq.client.Consumer consumer,
com.rabbitmq.client.Channel channel)
ConsumerListenerconsumer is recovered from an unexpected closure on the
channel.onAfterRecovery in interface ConsumerListenerpublic void onRecoveryFailure(com.rabbitmq.client.Consumer consumer,
com.rabbitmq.client.Channel channel,
Throwable failure)
ConsumerListenerconsumer fails to recover from an unexpected closure on the
channel.onRecoveryFailure in interface ConsumerListenerCopyright © 2013. All rights reserved.