Class RabbitResourceHolder
Inheritance
System.Object
RabbitResourceHolder
Assembly: Steeltoe.Messaging.RabbitMQ.dll
Syntax
public class RabbitResourceHolder : ResourceHolderSupport
Constructors
|
Edit this page
View Source
RabbitResourceHolder(ILogger)
Declaration
public RabbitResourceHolder(ILogger logger = null)
Parameters
Type |
Name |
Description |
ILogger |
logger |
|
|
Edit this page
View Source
RabbitResourceHolder(RabbitMQ.Client.IModel, Boolean, ILogger)
Declaration
public RabbitResourceHolder(RabbitMQ.Client.IModel channel, bool releaseAfterCompletion, ILogger logger = null)
Parameters
Type |
Name |
Description |
RabbitMQ.Client.IModel |
channel |
|
System.Boolean |
releaseAfterCompletion |
|
ILogger |
logger |
|
Properties
|
Edit this page
View Source
ReleaseAfterCompletion
Declaration
public bool ReleaseAfterCompletion { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
RequeueOnRollback
Declaration
public bool RequeueOnRollback { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Edit this page
View Source
AddChannel(RabbitMQ.Client.IModel)
Declaration
public void AddChannel(RabbitMQ.Client.IModel channel)
Parameters
Type |
Name |
Description |
RabbitMQ.Client.IModel |
channel |
|
|
Edit this page
View Source
AddChannel(RabbitMQ.Client.IModel, IConnection)
Declaration
public void AddChannel(RabbitMQ.Client.IModel channel, IConnection connection)
Parameters
Type |
Name |
Description |
RabbitMQ.Client.IModel |
channel |
|
IConnection |
connection |
|
|
Edit this page
View Source
AddConnection(IConnection)
Declaration
public void AddConnection(IConnection connection)
Parameters
|
Edit this page
View Source
AddDeliveryTag(RabbitMQ.Client.IModel, UInt64)
Declaration
public void AddDeliveryTag(RabbitMQ.Client.IModel channel, ulong deliveryTag)
Parameters
Type |
Name |
Description |
RabbitMQ.Client.IModel |
channel |
|
System.UInt64 |
deliveryTag |
|
|
Edit this page
View Source
CloseAll()
Declaration
|
Edit this page
View Source
CommitAll()
Declaration
|
Edit this page
View Source
ContainsChannel(RabbitMQ.Client.IModel)
Declaration
public bool ContainsChannel(RabbitMQ.Client.IModel channel)
Parameters
Type |
Name |
Description |
RabbitMQ.Client.IModel |
channel |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
GetChannel()
Declaration
public RabbitMQ.Client.IModel GetChannel()
Returns
Type |
Description |
RabbitMQ.Client.IModel |
|
|
Edit this page
View Source
GetConnection()
Declaration
public IConnection GetConnection()
Returns
|
Edit this page
View Source
RollbackAll()
Declaration
public void RollbackAll()