org.mule.routing
Class DefaultPropertiesExtractor

java.lang.Object
  extended byorg.mule.routing.DefaultPropertiesExtractor
All Implemented Interfaces:
PropertyExtractor

public class DefaultPropertiesExtractor
extends java.lang.Object
implements PropertyExtractor

DefaultPropertiesExtractor 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)

Version:
$Revision: 1.2 $
Author:
Ross Mason

Constructor Summary
DefaultPropertiesExtractor()
           
 
Method Summary
 java.lang.String getCorrelationId(UMOMessage message)
           
 java.lang.String getMessageId(UMOMessage message)
           
 java.lang.Object getPropertry(java.lang.String name, UMOMessage message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPropertiesExtractor

public DefaultPropertiesExtractor()
Method Detail

getPropertry

public final java.lang.Object getPropertry(java.lang.String name,
                                           UMOMessage message)
Specified by:
getPropertry in interface PropertyExtractor

getMessageId

public java.lang.String getMessageId(UMOMessage message)

getCorrelationId

public java.lang.String getCorrelationId(UMOMessage message)


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.