Class RabbitMqMessageConsumerFactory
Inheritance
System.Object
RabbitMqMessageConsumerFactory
Namespace: Volo.Abp.RabbitMQ
Assembly: Volo.Abp.RabbitMQ.dll
Syntax
public class RabbitMqMessageConsumerFactory : object, IRabbitMqMessageConsumerFactory, ISingletonDependency, IDisposable
Constructors
RabbitMqMessageConsumerFactory(IServiceScopeFactory)
Declaration
public RabbitMqMessageConsumerFactory(IServiceScopeFactory serviceScopeFactory)
Parameters
Type | Name | Description |
---|---|---|
IServiceScopeFactory | serviceScopeFactory |
Properties
ServiceScope
Declaration
protected IServiceScope ServiceScope { get; }
Property Value
Type | Description |
---|---|
IServiceScope |
Methods
Create(ExchangeDeclareConfiguration, QueueDeclareConfiguration, String)
Declaration
public IRabbitMqMessageConsumer Create(ExchangeDeclareConfiguration exchange, QueueDeclareConfiguration queue, string connectionName = null)
Parameters
Type | Name | Description |
---|---|---|
ExchangeDeclareConfiguration | exchange | |
QueueDeclareConfiguration | queue | |
System.String | connectionName |
Returns
Type | Description |
---|---|
IRabbitMqMessageConsumer |
Dispose()
Declaration
public void Dispose()
Implements
ISingletonDependency
IDisposable