Class ConnectionFactoryUtils
Inheritance
System.Object
ConnectionFactoryUtils
Assembly: Steeltoe.Messaging.RabbitMQ.dll
Syntax
public static class ConnectionFactoryUtils : object
Methods
|
Edit this page
View Source
BindResourceToTransaction(RabbitResourceHolder, IConnectionFactory, Boolean)
Declaration
public static RabbitResourceHolder BindResourceToTransaction(RabbitResourceHolder resourceHolder, IConnectionFactory connectionFactory, bool synched)
Parameters
Returns
|
Edit this page
View Source
CreateConnection(IConnectionFactory, Boolean)
Declaration
public static IConnection CreateConnection(IConnectionFactory connectionFactory, bool publisherConnectionIfPossible)
Parameters
Type |
Name |
Description |
IConnectionFactory |
connectionFactory |
|
System.Boolean |
publisherConnectionIfPossible |
|
Returns
|
Edit this page
View Source
GetTransactionalResourceHolder(IConnectionFactory, Boolean)
Declaration
public static RabbitResourceHolder GetTransactionalResourceHolder(IConnectionFactory connectionFactory, bool synchedLocalTransactionAllowed)
Parameters
Type |
Name |
Description |
IConnectionFactory |
connectionFactory |
|
System.Boolean |
synchedLocalTransactionAllowed |
|
Returns
|
Edit this page
View Source
GetTransactionalResourceHolder(IConnectionFactory, Boolean, Boolean)
Declaration
public static RabbitResourceHolder GetTransactionalResourceHolder(IConnectionFactory connectionFactory, bool synchedLocalTransactionAllowed, bool publisherConnectionIfPossible)
Parameters
Type |
Name |
Description |
IConnectionFactory |
connectionFactory |
|
System.Boolean |
synchedLocalTransactionAllowed |
|
System.Boolean |
publisherConnectionIfPossible |
|
Returns
|
Edit this page
View Source
IsChannelTransactional(RabbitMQ.Client.IModel, IConnectionFactory)
Declaration
public static bool IsChannelTransactional(RabbitMQ.Client.IModel channel, IConnectionFactory connectionFactory)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
RegisterDeliveryTag(IConnectionFactory, RabbitMQ.Client.IModel, UInt64)
Declaration
public static void RegisterDeliveryTag(IConnectionFactory connectionFactory, RabbitMQ.Client.IModel channel, ulong tag)
Parameters
Type |
Name |
Description |
IConnectionFactory |
connectionFactory |
|
RabbitMQ.Client.IModel |
channel |
|
System.UInt64 |
tag |
|
|
Edit this page
View Source
ReleaseResources(RabbitResourceHolder)
Declaration
public static void ReleaseResources(RabbitResourceHolder resourceHolder)
Parameters