C# Class DotNetWorkQueue.Metrics.Decorator.ReceivePoisonMessageDecorator

Inheritance: IReceivePoisonMessage
Mostrar archivo Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
Handle ( IMessageContext context, PoisonMessageException exception ) : void

Invoked when we have dequeued a message, but a failure occurred during re-assembly.

ReceivePoisonMessageDecorator ( IMetrics metrics, IReceivePoisonMessage handler, IConnectionInformation connectionInformation ) : DotNetWorkQueue.Exceptions

Initializes a new instance of the ReceivePoisonMessageDecorator class.

Method Details

Handle() public method

Invoked when we have dequeued a message, but a failure occurred during re-assembly.
public Handle ( IMessageContext context, PoisonMessageException exception ) : void
context IMessageContext The context.
exception DotNetWorkQueue.Exceptions.PoisonMessageException The exception.
return void

ReceivePoisonMessageDecorator() public method

Initializes a new instance of the ReceivePoisonMessageDecorator class.
public ReceivePoisonMessageDecorator ( IMetrics metrics, IReceivePoisonMessage handler, IConnectionInformation connectionInformation ) : DotNetWorkQueue.Exceptions
metrics IMetrics The metrics factory.
handler IReceivePoisonMessage The handler.
connectionInformation IConnectionInformation The connection information.
return DotNetWorkQueue.Exceptions