C# Class DotNetWorkQueue.Transport.PostgreSQL.Basic.PostgreSqlQueueReceivePoisonMessage

Handles moving poison messages to the error table
Inheritance: IReceivePoisonMessage
显示文件 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.

PostgreSqlQueueReceivePoisonMessage ( ICommandHandler commandMoveRecord ) : DotNetWorkQueue.Transport.PostgreSQL.Basic.Command

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

PostgreSqlQueueReceivePoisonMessage() public method

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