C# 클래스 MassTransit.RabbitMqTransport.Pipeline.RabbitMqBasicConsumer

Receives messages from RabbitMQ, pushing them to the InboundPipe of the service endpoint.
상속: IBasicConsumer, RabbitMqDeliveryMetrics
파일 보기 프로젝트 열기: MassTransit/MassTransit 1 사용 예제들

Private Properties

프로퍼티 타입 설명
HandleDeliveryComplete void
IBasicConsumer void
IBasicConsumer void
IBasicConsumer void
Stop Task
WaitAndAbandonMessage Task

공개 메소드들

메소드 설명
RabbitMqBasicConsumer ( ModelContext model, Uri inputAddress, IPipe receivePipe, IReceiveObserver receiveObserver, ITaskScope taskSupervisor, ISendEndpointProvider sendEndpointProvider, IPublishEndpointProvider publishEndpointProvider ) : System

The basic consumer receives messages pushed from the broker.

비공개 메소드들

메소드 설명
HandleDeliveryComplete ( ) : void
IBasicConsumer ( object model, RabbitMQ.Client.ShutdownEventArgs reason ) : void
IBasicConsumer ( string consumerTag ) : void

Called when the consumer is ready to be delivered messages by the broker

IBasicConsumer ( string consumerTag, ulong deliveryTag, bool redelivered, string exchange, string routingKey, IBasicProperties properties, byte body ) : void
Stop ( ) : Task
WaitAndAbandonMessage ( ulong deliveryTag ) : Task

메소드 상세

RabbitMqBasicConsumer() 공개 메소드

The basic consumer receives messages pushed from the broker.
public RabbitMqBasicConsumer ( ModelContext model, Uri inputAddress, IPipe receivePipe, IReceiveObserver receiveObserver, ITaskScope taskSupervisor, ISendEndpointProvider sendEndpointProvider, IPublishEndpointProvider publishEndpointProvider ) : System
model ModelContext The model context for the consumer
inputAddress System.Uri The input address for messages received by the consumer
receivePipe IPipe The receive pipe to dispatch messages
receiveObserver IReceiveObserver The observer for receive events
taskSupervisor ITaskScope The token used to cancel/stop the consumer at shutdown
sendEndpointProvider ISendEndpointProvider
publishEndpointProvider IPublishEndpointProvider
리턴 System