Свойство | Тип | Описание | |
---|---|---|---|
CancelConsumer | void | ||
EnsureChannelBind | void | ||
EnsureConsumer | void | ||
SetConsumerArguments | object>.Dictionary | ||
SetQueueArguments | object>.Dictionary |
Метод | Описание | |
---|---|---|
Acknowledge ( Message message ) : void |
Acknowledges the specified message.
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
Purge ( ) : void |
Purges the specified queue name.
|
|
Receive ( int timeoutInMilliseconds ) : Message |
Receives the specified queue name.
|
|
Reject ( Message message, bool requeue ) : void |
Rejects the specified message.
|
|
Requeue ( Message message ) : void | ||
Requeue ( Message message, int delayMilliseconds ) : void | ||
RmqMessageConsumer ( |
Initializes a new instance of the MessageGateway class.
|
Метод | Описание | |
---|---|---|
CreateConsumer ( ) : void |
Метод | Описание | |
---|---|---|
CancelConsumer ( ) : void | ||
EnsureChannelBind ( ) : void | ||
EnsureConsumer ( ) : void | ||
SetConsumerArguments ( ) : object>.Dictionary |
||
SetQueueArguments ( ) : object>.Dictionary |
public Acknowledge ( Message message ) : void | ||
message | Message | The message. |
Результат | void |
public Receive ( int timeoutInMilliseconds ) : Message | ||
timeoutInMilliseconds | int | The timeout in milliseconds. |
Результат | Message |
public Reject ( Message message, bool requeue ) : void | ||
message | Message | The message. |
requeue | bool | if set to |
Результат | void |
public Requeue ( Message message, int delayMilliseconds ) : void | ||
message | Message | |
delayMilliseconds | int | |
Результат | void |
public RmqMessageConsumer ( |
||
connection | ||
queueName | string | The queue name. |
routingKey | string | The routing key. |
isDurable | bool | Is the queue persisted to disk |
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 | |
Результат | System |