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.


Method Summary
 Object getProperty(String name, Object message)
          Extracts a single property from the message
 

Method Detail

getProperty

public Object getProperty(String name,
                          Object message)
Extracts a single property from the message

Parameters:
name - the property name or expression
message - 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.