Class RabbitMqMessageConsumerFactory
Inheritance
object
RabbitMqMessageConsumerFactory
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.RabbitMQ
Assembly: Volo.Abp.RabbitMQ.dll
Syntax
public class RabbitMqMessageConsumerFactory : IRabbitMqMessageConsumerFactory, ISingletonDependency, IDisposable
Constructors
RabbitMqMessageConsumerFactory(IServiceScopeFactory)
Declaration
public RabbitMqMessageConsumerFactory(IServiceScopeFactory serviceScopeFactory)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.Extensions.DependencyInjection.IServiceScopeFactory | serviceScopeFactory |
Properties
ServiceScope
Declaration
protected IServiceScope ServiceScope { get; }
Property Value
| Type | Description |
|---|---|
| Microsoft.Extensions.DependencyInjection.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 | |
| string | connectionName |
Returns
| Type | Description |
|---|---|
| IRabbitMqMessageConsumer |
Dispose()
Declaration
public void Dispose()
Implements
System.IDisposable