C# 클래스 paramore.brighter.commandprocessor.messaginggateway.restms.RestMsMessageConsumer

Class RestMsMessageConsumer.
상속: RestMSMessageGateway, IAmAMessageConsumer
파일 보기 프로젝트 열기: iancooper/Paramore 1 사용 예제들

공개 메소드들

메소드 설명
Acknowledge ( Message message ) : void

Acknowledges the specified message.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

NoOfOutstandingMessages ( int timeoutInMilliseconds = -1 ) : int

Noes the of outstanding messages.

Purge ( ) : void

Purges the specified queue name.

Receive ( int timeoutInMilliseconds = -1 ) : Message
Reject ( Message message, bool requeue ) : void

Rejects the specified message.

Requeue ( Message message ) : void
RestMsMessageConsumer ( RestMSMessagingGatewayConfiguration configuration, string queueName, string routingKey ) : System

Initializes a new instance of the RestMsMessageConsumer class.

비공개 메소드들

메소드 설명
DeleteMessage ( paramore.brighter.commandprocessor.messaginggateway.restms.Model.RestMSPipe pipe, Message message ) : void
GetMessage ( paramore.brighter.commandprocessor.messaginggateway.restms.Model.RestMSMessageLink messageUri ) : Message
ReadMessage ( ) : Message
SendDeleteMessage ( paramore.brighter.commandprocessor.messaginggateway.restms.Model.RestMSMessageLink matchingMessage ) : void

메소드 상세

Acknowledge() 공개 메소드

Acknowledges the specified message.
public Acknowledge ( Message message ) : void
message Message The message.
리턴 void

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

NoOfOutstandingMessages() 공개 메소드

Noes the of outstanding messages.
public NoOfOutstandingMessages ( int timeoutInMilliseconds = -1 ) : int
timeoutInMilliseconds int The timeout in milliseconds.
리턴 int

Purge() 공개 메소드

Purges the specified queue name.
public Purge ( ) : void
리턴 void

Receive() 공개 메소드

public Receive ( int timeoutInMilliseconds = -1 ) : Message
timeoutInMilliseconds int The timeout in milliseconds.
리턴 Message

Reject() 공개 메소드

Rejects the specified message.
public Reject ( Message message, bool requeue ) : void
message Message The message.
requeue bool if set to true [requeue].
리턴 void

Requeue() 공개 메소드

public Requeue ( Message message ) : void
message Message
리턴 void

RestMsMessageConsumer() 공개 메소드

Initializes a new instance of the RestMsMessageConsumer class.
public RestMsMessageConsumer ( RestMSMessagingGatewayConfiguration configuration, string queueName, string routingKey ) : System
configuration RestMSMessagingGatewayConfiguration The configuration of the RestMS broker
queueName string Name of the queue.
routingKey string The routing key.
리턴 System