org.mule.routing
Class CorrelationPropertiesExtractor
java.lang.Object
org.mule.util.properties.MessagePropertyExtractor
org.mule.routing.CorrelationPropertiesExtractor
- All Implemented Interfaces:
- PropertyExtractor
- public class CorrelationPropertiesExtractor
- extends MessagePropertyExtractor
CorrelationPropertiesExtractor
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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CorrelationPropertiesExtractor
public CorrelationPropertiesExtractor()
getProperty
public final Object getProperty(String name,
Object message)
- Description copied from interface:
PropertyExtractor
- Extracts a single property from the message
- Specified by:
getProperty
in interface PropertyExtractor
- Overrides:
getProperty
in class MessagePropertyExtractor
getMessageId
public String getMessageId(UMOMessage message)
getCorrelationId
public String getCorrelationId(UMOMessage message)
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.