C# Class DotNetWorkQueue.Transport.PostgreSQL.Basic.Message.RollbackMessage

Rolls back a message by either rolling back a transaction or updating a status
Afficher le fichier Open project: blehnen/DotNetWorkQueue Class Usage Examples

Méthodes publiques

Méthode Description
Rollback ( IMessageContext context ) : void

Rollbacks the specified message by setting the status

RollbackForTransaction ( IMessageContext context ) : void

Rollbacks the specified message by rolling back the transaction

RollbackMessage ( QueueConsumerConfiguration configuration, ICommandHandler rollbackCommand, ICommandHandler setStatusCommandHandler, SqlHeaders headers ) : System

Initializes a new instance of the RollbackMessage class.

Method Details

Rollback() public méthode

Rollbacks the specified message by setting the status
public Rollback ( IMessageContext context ) : void
context IMessageContext The context.
Résultat void

RollbackForTransaction() public méthode

Rollbacks the specified message by rolling back the transaction
public RollbackForTransaction ( IMessageContext context ) : void
context IMessageContext The context.
Résultat void

RollbackMessage() public méthode

Initializes a new instance of the RollbackMessage class.
public RollbackMessage ( QueueConsumerConfiguration configuration, ICommandHandler rollbackCommand, ICommandHandler setStatusCommandHandler, SqlHeaders headers ) : System
configuration DotNetWorkQueue.Configuration.QueueConsumerConfiguration The configuration.
rollbackCommand ICommandHandler The rollback command.
setStatusCommandHandler ICommandHandler The set status command handler.
headers SqlHeaders The headers.
Résultat System