public abstract class DefaultChannelListener extends Object implements ChannelListener
| Constructor and Description |
|---|
DefaultChannelListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onCreate(com.rabbitmq.client.Channel channel)
Called after the
channel is successfully created. |
void |
onCreateFailure(Throwable failure)
Called after channel creation fails.
|
void |
onRecovery(com.rabbitmq.client.Channel channel)
Called after the
channel, along with its consumers, is recovered from an unexpected
closure. |
void |
onRecoveryFailure(com.rabbitmq.client.Channel channel,
Throwable failure)
Called after the
channel fails to recover from an unexpected closure. |
public void onCreate(com.rabbitmq.client.Channel channel)
ChannelListenerchannel is successfully created.onCreate in interface ChannelListenerpublic void onCreateFailure(Throwable failure)
ChannelListeneronCreateFailure in interface ChannelListenerpublic void onRecovery(com.rabbitmq.client.Channel channel)
ChannelListenerchannel, along with its consumers, is recovered from an unexpected
closure.onRecovery in interface ChannelListenerpublic void onRecoveryFailure(com.rabbitmq.client.Channel channel,
Throwable failure)
ChannelListenerchannel fails to recover from an unexpected closure.onRecoveryFailure in interface ChannelListenerCopyright © 2013. All rights reserved.