Interface IMessageProcessor
Defines an interface for all user-defined types used in the custom message pipeline component.
Namespace: Nevatech.Vsb.Repository.Processing
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public interface IMessageProcessor
Methods
ImportConfiguration(String)
Imports component's private configuration.
Declaration
void ImportConfiguration(string configuration)
Parameters
Type | Name | Description |
---|---|---|
String | configuration | String that defines the private configuration. |
ProcessMessage(MessagePipelineContext)
Inspects the message and optionally modifies its content.
Declaration
MessagePipelineResult ProcessMessage(MessagePipelineContext context)
Parameters
Type | Name | Description |
---|---|---|
MessagePipelineContext | context | Provides the message processing context. |
Returns
Type | Description |
---|---|
MessagePipelineResult | Value indicating if message should continue on its way to the recipient or must be stopped and returned to the sender. |