C# Класс paramore.brighter.commandprocessor.messaginggateway.rmq.RmqMessageConsumerFactory

Class RmqMessageConsumerFactory.
Наследование: IAmAMessageConsumerFactory
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Create ( string queueName, string routingKey, bool isDurable, ushort preFetchSize = 1, bool highAvailability = false ) : IAmAMessageConsumer

Creates the specified queue name.

RmqMessageConsumerFactory ( RmqMessagingGatewayConnection connection ) : paramore.brighter.commandprocessor.Logging

Initializes a new instance of the RmqMessageConsumerFactory class.

Описание методов

Create() публичный Метод

Creates the specified queue name.
public Create ( string queueName, string routingKey, bool isDurable, ushort preFetchSize = 1, bool highAvailability = false ) : IAmAMessageConsumer
queueName string Name of the queue.
routingKey string The routing key.
isDurable bool Is the consumer target durable i.e. channel stores messages between restarts of consumer
preFetchSize ushort 0="Don't send me a new message until I?ve finished", 1= "Send me one message at a time", n = number to grab (take care with competing consumers)
highAvailability bool Does the queue exist in multiple nodes
Результат IAmAMessageConsumer

RmqMessageConsumerFactory() публичный Метод

Initializes a new instance of the RmqMessageConsumerFactory class.
public RmqMessageConsumerFactory ( RmqMessagingGatewayConnection connection ) : paramore.brighter.commandprocessor.Logging
connection RmqMessagingGatewayConnection
Результат paramore.brighter.commandprocessor.Logging