Class DirectRabbitListenerContainerFactory
Inheritance
System.Object
DirectRabbitListenerContainerFactory
Implements
IServiceNameAware
Assembly: Steeltoe.Messaging.RabbitMQ.dll
Syntax
public class DirectRabbitListenerContainerFactory : AbstractRabbitListenerContainerFactory<DirectMessageListenerContainer>, IRabbitListenerContainerFactory<DirectMessageListenerContainer>, IRabbitListenerContainerFactory
Constructors
|
Edit this page
View Source
DirectRabbitListenerContainerFactory(IApplicationContext, ILoggerFactory)
Declaration
public DirectRabbitListenerContainerFactory(IApplicationContext applicationContext, ILoggerFactory loggerFactory = null)
Parameters
Type |
Name |
Description |
IApplicationContext |
applicationContext |
|
ILoggerFactory |
loggerFactory |
|
|
Edit this page
View Source
DirectRabbitListenerContainerFactory(IApplicationContext, IOptionsMonitor<RabbitOptions>, IConnectionFactory, ILoggerFactory)
Declaration
public DirectRabbitListenerContainerFactory(IApplicationContext applicationContext, IOptionsMonitor<RabbitOptions> optionsMonitor, IConnectionFactory connectionFactory, ILoggerFactory loggerFactory = null)
Parameters
Type |
Name |
Description |
IApplicationContext |
applicationContext |
|
IOptionsMonitor<RabbitOptions> |
optionsMonitor |
|
IConnectionFactory |
connectionFactory |
|
ILoggerFactory |
loggerFactory |
|
|
Edit this page
View Source
DirectRabbitListenerContainerFactory(IApplicationContext, IConnectionFactory, ILoggerFactory)
Declaration
public DirectRabbitListenerContainerFactory(IApplicationContext applicationContext, IConnectionFactory connectionFactory, ILoggerFactory loggerFactory = null)
Parameters
Type |
Name |
Description |
IApplicationContext |
applicationContext |
|
IConnectionFactory |
connectionFactory |
|
ILoggerFactory |
loggerFactory |
|
Fields
|
Edit this page
View Source
DEFAULT_SERVICE_NAME
Declaration
public const string DEFAULT_SERVICE_NAME = null
Field Value
Type |
Description |
System.String |
|
Properties
|
Edit this page
View Source
AckTimeout
Declaration
public int? AckTimeout { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
|
Edit this page
View Source
ConsumersPerQueue
Declaration
public int? ConsumersPerQueue { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
|
Edit this page
View Source
MessagesPerAck
Declaration
public int? MessagesPerAck { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
|
Edit this page
View Source
MonitorInterval
Declaration
public int? MonitorInterval { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Methods
|
Edit this page
View Source
CreateContainerInstance()
Declaration
protected override DirectMessageListenerContainer CreateContainerInstance()
Returns
Overrides
Steeltoe.Messaging.RabbitMQ.Config.AbstractRabbitListenerContainerFactory<Steeltoe.Messaging.RabbitMQ.Listener.DirectMessageListenerContainer>.CreateContainerInstance()
|
Edit this page
View Source
InitializeContainer(DirectMessageListenerContainer, IRabbitListenerEndpoint)
Declaration
protected override void InitializeContainer(DirectMessageListenerContainer instance, IRabbitListenerEndpoint endpoint)
Parameters
Overrides
Steeltoe.Messaging.RabbitMQ.Config.AbstractRabbitListenerContainerFactory<Steeltoe.Messaging.RabbitMQ.Listener.DirectMessageListenerContainer>.InitializeContainer(Steeltoe.Messaging.RabbitMQ.Listener.DirectMessageListenerContainer, Steeltoe.Messaging.RabbitMQ.Listener.IRabbitListenerEndpoint)
Implements
IServiceNameAware