C# Class DotNetWorkQueue.Queue.ProcessMessageAsync

Runs user code and commits the message
Afficher le fichier Open project: blehnen/DotNetWorkQueue Class Usage Examples

Méthodes publiques

Méthode Description
Handle ( IMessageContext context, IReceivedMessageInternal transportMessage ) : Task

Handles processing the specified message with the context

ProcessMessageAsync ( IHandleMessage handler, IHeartBeatWorkerFactory heartBeatWorkerFactory, MessageExceptionHandler messageExceptionHandler, ICommitMessage commitMessage ) : System

Initializes a new instance of the ProcessMessageAsync class.

Method Details

Handle() public méthode

Handles processing the specified message with the context
public Handle ( IMessageContext context, IReceivedMessageInternal transportMessage ) : Task
context IMessageContext The context.
transportMessage IReceivedMessageInternal The transport message.
Résultat Task

ProcessMessageAsync() public méthode

Initializes a new instance of the ProcessMessageAsync class.
public ProcessMessageAsync ( IHandleMessage handler, IHeartBeatWorkerFactory heartBeatWorkerFactory, MessageExceptionHandler messageExceptionHandler, ICommitMessage commitMessage ) : System
handler IHandleMessage The handler.
heartBeatWorkerFactory IHeartBeatWorkerFactory The heart beat worker factory.
messageExceptionHandler MessageExceptionHandler The message exception handler.
commitMessage ICommitMessage The commit message.
Résultat System