C# Class DotNetWorkQueue.Metrics.Decorator.RollbackMessageDecorator

Inheritance: IRollbackMessage
Mostra file Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
Rollback ( IMessageContext context ) : bool

Rolls back the message associated to the context

RollbackMessageDecorator ( IMetrics metrics, IRollbackMessage handler, IConnectionInformation connectionInformation )

Initializes a new instance of the RollbackMessageDecorator class.

Method Details

Rollback() public method

Rolls back the message associated to the context
public Rollback ( IMessageContext context ) : bool
context IMessageContext
return bool

RollbackMessageDecorator() public method

Initializes a new instance of the RollbackMessageDecorator class.
public RollbackMessageDecorator ( IMetrics metrics, IRollbackMessage handler, IConnectionInformation connectionInformation )
metrics IMetrics The metrics factory.
handler IRollbackMessage The handler.
connectionInformation IConnectionInformation The connection information.