C# Класс DotNetWorkQueue.Queue.ProcessMessage

Runs user code and commits the message
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Handle ( IMessageContext context, IReceivedMessageInternal transportMessage ) : bool

Handles processing the specified message with the context

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

Initializes a new instance of the ProcessMessage class.

Описание методов

Handle() публичный Метод

Handles processing the specified message with the context
public Handle ( IMessageContext context, IReceivedMessageInternal transportMessage ) : bool
context IMessageContext The context.
transportMessage IReceivedMessageInternal The transport message.
Результат bool

ProcessMessage() публичный Метод

Initializes a new instance of the ProcessMessage class.
public ProcessMessage ( 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.
Результат System