@FunctionalInterface public interface ShutDownChannelListener extends ChannelListener
| Modifier and Type | Method and Description |
|---|---|
default void |
onCreate(com.rabbitmq.client.Channel channel,
boolean transactional)
Called when a new channel is created.
|
void |
onShutDown(com.rabbitmq.client.ShutdownSignalException signal)
Called when the underlying RabbitMQ channel is closed for any
reason.
|
default void onCreate(com.rabbitmq.client.Channel channel,
boolean transactional)
ChannelListeneronCreate in interface ChannelListenerchannel - the channel.transactional - true if transactional.void onShutDown(com.rabbitmq.client.ShutdownSignalException signal)
ChannelListeneronShutDown in interface ChannelListenersignal - the shut down signal.