public class CorrelationPropertiesExpressionEvaluator extends MessageHeaderExpressionEvaluator
CorrelationPropertiesExpressionEvaluator is a default implementation used for
getting the Correlation information from a message. This object is only used when
getting a specific property to be set on the message. When reading the property
the getProperty(...) or the direct property accessor will be used i.e.
message.getCorrelationId() or
message.getProperty(MuleProperties.MULE_CORRELATION_ID_PROPERTY)NAME| Constructor and Description |
|---|
CorrelationPropertiesExpressionEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
Object |
evaluate(String name,
Object message)
Extracts a single property from the message
|
String |
getCorrelationId(MessageAdapter message) |
String |
getMessageId(MessageAdapter message) |
getName, setNamepublic CorrelationPropertiesExpressionEvaluator()
public final Object evaluate(String name, Object message)
ExpressionEvaluatorevaluate in interface ExpressionEvaluatorevaluate in class MessageHeaderExpressionEvaluatorname - the property expression or expressionmessage - the message to extract frompublic String getMessageId(MessageAdapter message)
public String getCorrelationId(MessageAdapter message)
Copyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.