Interface IMessageProcessor<T>
This defines the lowest-level strategy of processing a Message and returning some Object(or null). Implementations will be focused on generic concerns, such as invoking a method, running a script, or evaluating an expression.
Namespace: Steeltoe.Integration.Handler
Assembly: Steeltoe.Integration.Abstractions.dll
Syntax
public interface IMessageProcessor<out T> : IMessageProcessor
Type Parameters
Name | Description |
---|---|
T | the type of the processing result |
Methods
| Edit this page View SourceProcessMessage(IMessage)
Process a message and return a value or null
Declaration
T ProcessMessage(IMessage message)
Parameters
Type | Name | Description |
---|---|---|
IMessage | message | message to process |
Returns
Type | Description |
---|---|
T | result after processing |