C# 클래스 paramore.brighter.commandprocessor.messaginggateway.rmq.RmqMessageConsumerFactory

Class RmqMessageConsumerFactory.
상속: IAmAMessageConsumerFactory
파일 보기 프로젝트 열기: iancooper/Paramore 1 사용 예제들

공개 메소드들

메소드 설명
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