C# Class DotNetWorkQueue.Transport.Redis.Basic.RedisQueueReceivePoisonMessage

Handles receiving a poison message - a message that cannot be deserialized
Inheritance: IReceivePoisonMessage
Show file 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.

RedisQueueReceivePoisonMessage ( ICommandHandler commandMoveRecord ) : DotNetWorkQueue.Transport.Redis.Basic.Command

Initializes a new instance of the RedisQueueReceivePoisonMessage 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

RedisQueueReceivePoisonMessage() public method

Initializes a new instance of the RedisQueueReceivePoisonMessage class.
public RedisQueueReceivePoisonMessage ( ICommandHandler commandMoveRecord ) : DotNetWorkQueue.Transport.Redis.Basic.Command
commandMoveRecord ICommandHandler The command move record.
return DotNetWorkQueue.Transport.Redis.Basic.Command