C# Class DotNetWorkQueue.Transport.SqlServer.Basic.Message.CommitMessage

Commits a processed message
显示文件 Open project: blehnen/DotNetWorkQueue Class Usage Examples

Public Methods

Method Description
Commit ( IMessageContext context ) : void

Commits the processed message, by deleting the message

CommitForTransaction ( IMessageContext context ) : void

Commits the message, via the held transaction

CommitMessage ( QueueConsumerConfiguration configuration, ICommandHandler deleteStatusCommandHandler, long>.ICommandHandlerWithOutput deleteMessageCommand, SqlHeaders headers, long>.ICommandHandlerWithOutput deleteTransactionalMessageCommand ) : DotNetWorkQueue.Configuration

Initializes a new instance of the CommitMessage class.

Method Details

Commit() public method

Commits the processed message, by deleting the message
public Commit ( IMessageContext context ) : void
context IMessageContext The context.
return void

CommitForTransaction() public method

Commits the message, via the held transaction
public CommitForTransaction ( IMessageContext context ) : void
context IMessageContext The context.
return void

CommitMessage() public method

Initializes a new instance of the CommitMessage class.
public CommitMessage ( QueueConsumerConfiguration configuration, ICommandHandler deleteStatusCommandHandler, long>.ICommandHandlerWithOutput deleteMessageCommand, SqlHeaders headers, long>.ICommandHandlerWithOutput deleteTransactionalMessageCommand ) : DotNetWorkQueue.Configuration
configuration DotNetWorkQueue.Configuration.QueueConsumerConfiguration The configuration.
deleteStatusCommandHandler ICommandHandler The delete status command handler.
deleteMessageCommand long>.ICommandHandlerWithOutput The delete message command.
headers SqlHeaders The headers.
deleteTransactionalMessageCommand long>.ICommandHandlerWithOutput The delete transactional message command.
return DotNetWorkQueue.Configuration