Method | Description | |
---|---|---|
Dispose ( ) : void |
Disposes the resources used by the processor.
|
|
Start ( ) : void |
Starts the listener.
|
|
Stop ( ) : void |
Stops the listener.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Disposes the resources used by the processor.
|
|
MessageProcessor ( IMessageReceiver receiver, ITextSerializer serializer ) : System |
Initializes a new instance of the MessageProcessor class.
|
|
ProcessMessage ( string traceIdentifier, object payload, string messageId, string correlationId ) : void |
Processes the message.
|
Method | Description | |
---|---|---|
BuildTraceIdentifier ( BrokeredMessage message ) : string | ||
CompleteMessage ( BrokeredMessage message, string traceIdentifier ) : MessageReleaseAction | ||
HandleProcessingException ( BrokeredMessage message, string traceIdentifier, |
||
OnMessageReceived ( BrokeredMessage message ) : MessageReleaseAction | ||
ThrowIfDisposed ( ) : void |
protected MessageProcessor ( IMessageReceiver receiver, ITextSerializer serializer ) : System | ||
receiver | IMessageReceiver | |
serializer | ITextSerializer | |
return | System |
protected abstract ProcessMessage ( string traceIdentifier, object payload, string messageId, string correlationId ) : void | ||
traceIdentifier | string | The identifier that can be used to track the source message in the logs. |
payload | object | The typed message payload. |
messageId | string | The message id. |
correlationId | string | The message correlation id. |
return | void |