Table of Contents

Class CompositeChannelListener

Namespace
Steeltoe.Messaging.RabbitMQ.Connection
Assembly
Steeltoe.Messaging.RabbitMQ.dll
public class CompositeChannelListener : IChannelListener
Inheritance
CompositeChannelListener
Implements
Inherited Members

Constructors

CompositeChannelListener(ILogger)

public CompositeChannelListener(ILogger logger = null)

Parameters

logger ILogger

Methods

AddListener(IChannelListener)

public void AddListener(IChannelListener channelListener)

Parameters

channelListener IChannelListener

ClearListeners()

public void ClearListeners()

OnCreate(IModel, bool)

Called when a channel has been created

public void OnCreate(IModel channel, bool transactional)

Parameters

channel IModel

the created channel

transactional bool

true if channel is transactional

OnShutDown(ShutdownEventArgs)

Called when a channel has been shutdown

public void OnShutDown(ShutdownEventArgs @event)

Parameters

event ShutdownEventArgs

RemoveListener(IChannelListener)

public bool RemoveListener(IChannelListener channelListener)

Parameters

channelListener IChannelListener

Returns

bool

SetListeners(List<IChannelListener>)

public void SetListeners(List<IChannelListener> channelListeners)

Parameters

channelListeners List<IChannelListener>