Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mule.routing.correlation
Class CorrelationPropertiesExpressionEvaluator

    java.lang.Object
      org.mule.expression.MessageHeaderExpressionEvaluator
          org.mule.routing.correlation.CorrelationPropertiesExpressionEvaluator

All Implemented Interfaces:
  ExpressionEvaluator, NamedObject, ExpressionConstants

    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)

Field Summary

Fields inherited from class org.mule.expression.MessageHeaderExpressionEvaluator
`NAME`

Fields inherited from interface org.mule.expression.ExpressionConstants
`ALL_ARGUMENT, DELIM, OPTIONAL_ARGUMENT`

Constructor Summary
`CorrelationPropertiesExpressionEvaluator()`

Method Summary
`Object` | `evaluate(String name, MuleMessage message)` Extracts a single property from the message
`String` | `getCorrelationId(MuleMessage message)`
`String` | `getMessageId(MuleMessage message)`

Methods inherited from class org.mule.expression.MessageHeaderExpressionEvaluator
`getName, setName`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### CorrelationPropertiesExpressionEvaluator

    public CorrelationPropertiesExpressionEvaluator()

Method Detail

### evaluate

    public final Object evaluate(String name,
                                 MuleMessage message)

  Description copied from interface: `ExpressionEvaluator`
  Extracts a single property from the message

  Specified by:
    `evaluate` in interface `ExpressionEvaluator`
  Overrides:
    `evaluate` in class `MessageHeaderExpressionEvaluator`
  Parameters:
    `name` - the property expression or expression
    `message` - the message to extract from
  Returns:
    the result of the extraction or null if the property was not found

### getMessageId

    public String getMessageId(MuleMessage message)

### getCorrelationId

    public String getCorrelationId(MuleMessage message)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.