org.mule.util.properties
Class MessagePropertyExtractor
java.lang.Object
org.mule.util.properties.MessagePropertyExtractor
- All Implemented Interfaces:
- PropertyExtractor
- Direct Known Subclasses:
- CorrelationPropertiesExtractor
public class MessagePropertyExtractor
- extends Object
- implements PropertyExtractor
Looks up the property on the message using the name given.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessagePropertyExtractor
public MessagePropertyExtractor()
getProperty
public Object getProperty(String name,
Object message)
- Description copied from interface:
PropertyExtractor
- Extracts a single property from the message
- Specified by:
getProperty
in interface PropertyExtractor
- Parameters:
name
- the property name or expressionmessage
- the message to extract from
- Returns:
- the result of the extraction or null if the property was not found
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.