Class RabbitResourceHolder
- 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 class RabbitResourceHolder : ResourceHolderSupport, IResourceHolder
- Inheritance
-
RabbitResourceHolder
- Implements
- Inherited Members
Constructors
RabbitResourceHolder(ILogger)
public RabbitResourceHolder(ILogger logger = null)
Parameters
loggerILogger
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
channelIModel
AddChannel(IModel, IConnection)
public void AddChannel(IModel channel, IConnection connection)
Parameters
channelIModelconnectionIConnection
AddConnection(IConnection)
public void AddConnection(IConnection connection)
Parameters
connectionIConnection
AddDeliveryTag(IModel, ulong)
public void AddDeliveryTag(IModel channel, ulong deliveryTag)
Parameters
channelIModeldeliveryTagulong
CloseAll()
public void CloseAll()
CommitAll()
public void CommitAll()
ContainsChannel(IModel)
public bool ContainsChannel(IModel channel)
Parameters
channelIModel
Returns
GetChannel()
public IModel GetChannel()
Returns
- IModel
GetConnection()
public IConnection GetConnection()
Returns
RollbackAll()
public void RollbackAll()