Class ConnectionPool
Inheritance
System.Object
ConnectionPool
Implements
IDisposable
ISingletonDependency
Assembly: Volo.Abp.RabbitMQ.dll
Syntax
public class ConnectionPool : object, IConnectionPool, IDisposable, ISingletonDependency
Constructors
ConnectionPool(IOptions<AbpRabbitMqOptions>)
Declaration
public ConnectionPool(IOptions<AbpRabbitMqOptions> options)
Parameters
Properties
Connections
Declaration
protected ConcurrentDictionary<string, IConnection> Connections { get; }
Property Value
Type |
Description |
ConcurrentDictionary<System.String, IConnection> |
|
Options
Declaration
protected AbpRabbitMqOptions Options { get; }
Property Value
Methods
Dispose()
Declaration
Get(String)
Declaration
public virtual IConnection Get(string connectionName = null)
Parameters
Type |
Name |
Description |
System.String |
connectionName |
|
Returns
Type |
Description |
IConnection |
|
Implements
IDisposable
ISingletonDependency
Extension Methods