Class ExpressionEvaluatingMessageProcessor<T>
- Namespace
- Steeltoe.Integration.Handler
- Assembly
- Steeltoe.Integration.IntegrationBase.dll
public class ExpressionEvaluatingMessageProcessor<T> : AbstractMessageProcessor<T>, IMessageProcessor<T>, IMessageProcessor
Type Parameters
T
- Inheritance
-
ExpressionEvaluatingMessageProcessor<T>
- Implements
- Inherited Members
Constructors
ExpressionEvaluatingMessageProcessor(IApplicationContext, IExpression)
public ExpressionEvaluatingMessageProcessor(IApplicationContext context, IExpression expression)
Parameters
context
IApplicationContextexpression
IExpression
ExpressionEvaluatingMessageProcessor(IApplicationContext, IExpression, Type)
public ExpressionEvaluatingMessageProcessor(IApplicationContext context, IExpression expression, Type expectedType)
Parameters
context
IApplicationContextexpression
IExpressionexpectedType
Type
ExpressionEvaluatingMessageProcessor(IApplicationContext, string)
public ExpressionEvaluatingMessageProcessor(IApplicationContext context, string expression)
Parameters
context
IApplicationContextexpression
string
ExpressionEvaluatingMessageProcessor(IApplicationContext, string, Type)
public ExpressionEvaluatingMessageProcessor(IApplicationContext context, string expression, Type expectedType)
Parameters
context
IApplicationContextexpression
stringexpectedType
Type
Methods
ProcessMessage(IMessage)
Process a message and return a value or null
public override T ProcessMessage(IMessage message)
Parameters
message
IMessagemessage to process
Returns
- T
result after processing
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.