Interface IMessageProcessor<T>
- Namespace
- Steeltoe.Integration.Handler
- Assembly
- Steeltoe.Integration.Abstractions.dll
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.
public interface IMessageProcessor<out T> : IMessageProcessor
Type Parameters
T
the type of the processing result
Methods
ProcessMessage(IMessage)
Process a message and return a value or null
T ProcessMessage(IMessage message)
Parameters
message
IMessagemessage to process
Returns
- T
result after processing