Class ConnectionPool
Inheritance
ConnectionPool
Assembly: Volo.Abp.RabbitMQ.dll
Syntax
public class ConnectionPool : IConnectionPool, IDisposable, ISingletonDependency
Constructors
ConnectionPool(IOptions<AbpRabbitMqOptions>)
Declaration
public ConnectionPool(IOptions<AbpRabbitMqOptions> options)
Parameters
Properties
Connections
Declaration
protected ConcurrentDictionary<string, Lazy<IConnection>> Connections { get; }
Property Value
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 |
string |
connectionName |
|
Returns
Type |
Description |
IConnection |
|
Implements
Extension Methods