org.mule.util.properties
Interface PropertyExtractor
- All Known Implementing Classes:
- BeanPropertyExtractor, Dom4jPropertyExtractor, JDomPropertyExtractor, JXPathPropertyExtractor, MapPropertyExtractor, MessagePropertyExtractor, NowPropertyExtractor, PayloadPropertyExtractor
- public interface PropertyExtractor
PropertyExtractor
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.
getProperty
public Object getProperty(String name,
Object message)
- Extracts a single property from the message
- 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.