Class RabbitResourceHolder
- Namespace
- Steeltoe.Messaging.RabbitMQ.Connection
- Assembly
- Steeltoe.Messaging.RabbitMQ.dll
public class RabbitResourceHolder : ResourceHolderSupport, IResourceHolder
- Inheritance
-
RabbitResourceHolder
- Implements
- Inherited Members
Constructors
RabbitResourceHolder(ILogger)
public RabbitResourceHolder(ILogger logger = null)
Parameters
logger
ILogger
RabbitResourceHolder(IModel, bool, ILogger)
public RabbitResourceHolder(IModel channel, bool releaseAfterCompletion, ILogger logger = null)
Parameters
Properties
ReleaseAfterCompletion
public bool ReleaseAfterCompletion { get; }
Property Value
RequeueOnRollback
public bool RequeueOnRollback { get; set; }
Property Value
Methods
AddChannel(IModel)
public void AddChannel(IModel channel)
Parameters
channel
IModel
AddChannel(IModel, IConnection)
public void AddChannel(IModel channel, IConnection connection)
Parameters
channel
IModelconnection
IConnection
AddConnection(IConnection)
public void AddConnection(IConnection connection)
Parameters
connection
IConnection
AddDeliveryTag(IModel, ulong)
public void AddDeliveryTag(IModel channel, ulong deliveryTag)
Parameters
channel
IModeldeliveryTag
ulong
CloseAll()
public void CloseAll()
CommitAll()
public void CommitAll()
ContainsChannel(IModel)
public bool ContainsChannel(IModel channel)
Parameters
channel
IModel
Returns
GetChannel()
public IModel GetChannel()
Returns
- IModel
GetConnection()
public IConnection GetConnection()
Returns
RollbackAll()
public void RollbackAll()