Property | Type | Description | |
---|---|---|---|
_status | ConsumerStatus | ||
_watcher | IRabbitWatcher |
Method | Description | |
---|---|---|
BurrowConsumer ( IModel channel, IMessageHandler messageHandler, IRabbitWatcher watcher, bool autoAck, int batchSize ) : System |
Initialize an object of BurrowConsumer
|
|
Dispose ( ) : void |
Method | Description | |
---|---|---|
BurrowConsumer ( IModel channel, IMessageHandler messageHandler, IRabbitWatcher watcher, bool autoAck, int batchSize, bool startThread ) : System |
Initialize an object of BurrowConsumer
|
|
CloseQueue ( ) : void | ||
Dequeue ( ) : RabbitMQ.Client.Events.BasicDeliverEventArgs | ||
DoAck ( RabbitMQ.Client.Events.BasicDeliverEventArgs basicDeliverEventArgs, IBasicConsumer subscriptionInfo ) : void | ||
StartConsumerThread ( string threadName ) : void | ||
WhenChannelShutdown ( object sender, RabbitMQ.Client.ShutdownEventArgs reason ) : void |
Method | Description | |
---|---|---|
HandleMessageDeliveryInSameThread ( RabbitMQ.Client.Events.BasicDeliverEventArgs basicDeliverEventArgs ) : void | ||
HandleMessageDeliveryInSeperatedThread ( RabbitMQ.Client.Events.BasicDeliverEventArgs basicDeliverEventArgs ) : void | ||
MessageHandlerHandlingComplete ( RabbitMQ.Client.Events.BasicDeliverEventArgs eventArgs ) : void | ||
MessageInProgressCount ( ) : int | ||
MessageWasNotHandled ( RabbitMQ.Client.Events.BasicDeliverEventArgs eventArgs ) : void | ||
WaitAndHandleMessageDelivery ( Action |
public BurrowConsumer ( IModel channel, IMessageHandler messageHandler, IRabbitWatcher watcher, bool autoAck, int batchSize ) : System | ||
channel | IModel | RabbitMQ.Client channel |
messageHandler | IMessageHandler | An instance of message handler to handle the message from queue |
watcher | IRabbitWatcher | |
autoAck | bool | If set to true, the msg will be acked after processed |
batchSize | int | |
return | System |
protected BurrowConsumer ( IModel channel, IMessageHandler messageHandler, IRabbitWatcher watcher, bool autoAck, int batchSize, bool startThread ) : System | ||
channel | IModel | RabbitMQ.Client channel |
messageHandler | IMessageHandler | An instance of message handler to handle the message from queue |
watcher | IRabbitWatcher | |
autoAck | bool | If set to true, the msg will be acked after processed |
batchSize | int | |
startThread | bool | Whether should start the consuming thread straight away |
return | System |
protected Dequeue ( ) : RabbitMQ.Client.Events.BasicDeliverEventArgs | ||
return | RabbitMQ.Client.Events.BasicDeliverEventArgs |
protected DoAck ( RabbitMQ.Client.Events.BasicDeliverEventArgs basicDeliverEventArgs, IBasicConsumer subscriptionInfo ) : void | ||
basicDeliverEventArgs | RabbitMQ.Client.Events.BasicDeliverEventArgs | |
subscriptionInfo | IBasicConsumer | |
return | void |
protected StartConsumerThread ( string threadName ) : void | ||
threadName | string | |
return | void |
protected WhenChannelShutdown ( object sender, RabbitMQ.Client.ShutdownEventArgs reason ) : void | ||
sender | object | |
reason | RabbitMQ.Client.ShutdownEventArgs | |
return | void |