Interface IChannelListener
- Namespace
- Steeltoe.Messaging.RabbitMQ.Connection
- Assembly
- Steeltoe.Messaging.RabbitMQ.dll
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
public interface IChannelListener
Methods
OnCreate(IModel, bool)
Called when a channel has been created
void OnCreate(IModel channel, bool transactional)
Parameters
channel
IModelthe created channel
transactional
booltrue if channel is transactional
OnShutDown(ShutdownEventArgs)
Called when a channel has been shutdown
void OnShutDown(ShutdownEventArgs args)
Parameters
args
ShutdownEventArgsthe shutdown event arguments