C# Class DotNetWorkQueue.Queue.MessageExceptionHandler

Handles action for when a message throws an exception.
Afficher le fichier Open project: blehnen/DotNetWorkQueue Class Usage Examples

Méthodes publiques

Méthode Description
Handle ( IReceivedMessageInternal message, IMessageContext context, Exception exception ) : void

Handles the specified message.

MessageExceptionHandler ( IReceiveMessagesError transportErrorHandler, ILogFactory log ) : System

Initializes a new instance of the MessageExceptionHandler class.

Method Details

Handle() public méthode

Handles the specified message.
An error has occurred in the error handling code An unhanded exception has occurred while processing a message
public Handle ( IReceivedMessageInternal message, IMessageContext context, Exception exception ) : void
message IReceivedMessageInternal The message.
context IMessageContext The context.
exception System.Exception The exception.
Résultat void

MessageExceptionHandler() public méthode

Initializes a new instance of the MessageExceptionHandler class.
public MessageExceptionHandler ( IReceiveMessagesError transportErrorHandler, ILogFactory log ) : System
transportErrorHandler IReceiveMessagesError The transport error handler.
log ILogFactory The log.
Résultat System