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