Class ChannelPool
Assembly: Volo.Abp.RabbitMQ.dll
Syntax
public class ChannelPool : IChannelPool, IDisposable, ISingletonDependency
Constructors
ChannelPool(IConnectionPool)
Declaration
public ChannelPool(IConnectionPool connectionPool)
Parameters
Properties
Channels
Declaration
protected ConcurrentDictionary<string, ChannelPool.ChannelPoolItem> Channels { get; }
Property Value
ConnectionPool
Declaration
protected IConnectionPool ConnectionPool { get; }
Property Value
IsDisposed
Declaration
protected bool IsDisposed { get; }
Property Value
Logger
Declaration
public ILogger<ChannelPool> Logger { get; set; }
Property Value
TotalDisposeWaitDuration
Declaration
protected TimeSpan TotalDisposeWaitDuration { get; set; }
Property Value
Methods
Acquire(string?, string?)
Declaration
public virtual IChannelAccessor Acquire(string? channelName = null, string? connectionName = null)
Parameters
Type |
Name |
Description |
string |
channelName |
|
string |
connectionName |
|
Returns
CheckDisposed()
Declaration
protected void CheckDisposed()
CreateChannel(string, string?)
Declaration
protected virtual IModel CreateChannel(string channelName, string? connectionName)
Parameters
Type |
Name |
Description |
string |
channelName |
|
string |
connectionName |
|
Returns
Dispose()
Declaration
Implements
Extension Methods