public interface ExpressionEvaluator extends NamedObject
ExpressionEvaluator
extracts a property from the message in a generic
way. i.e. composite properties can be pulled and aggregated depending on this
strategy. This can be used to extract Correlation Ids, Message Ids etc.
These objects are used to execute property expressions (usually on the
current message) at runtime to extracts dynamic value.
ExpressionEvaluator names most contain only letters, dashes or underscores.Modifier and Type | Method and Description |
---|---|
Object |
evaluate(String expression,
MuleMessage message)
Extracts a single property from the message
|
TypedValue |
evaluateTyped(String expression,
MuleMessage message)
Extracts a single typed property from the message
|
getName
Object evaluate(String expression, MuleMessage message)
expression
- the property expression or expressionmessage
- the message to extract fromTypedValue evaluateTyped(String expression, MuleMessage message)
expression
- the property expression or expressionmessage
- the message to extract fromCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.