org.mule.umo
Interface UMOMessage

All Superinterfaces:
java.io.Serializable, UMOMessageAdapter
All Known Implementing Classes:
BaseMessage, MuleMessage

public interface UMOMessage
extends UMOMessageAdapter

UMOMessage represents a message payload. The Message comprises of the payload itself and properties associated with the payload.

Version:
$Revision: 1.1.1.1 $
Author:
Ross Mason

Method Summary
 void addProperties(java.util.Map properties)
          Adds a map of properties to associated with this message
 void clearProperties()
          Removes all properties on this message
 java.util.Map getProperties()
          Returns a map of all properties on this message
 
Methods inherited from interface org.mule.umo.provider.UMOMessageAdapter
getBooleanProperty, getCorrelationGroupSize, getCorrelationId, getCorrelationSequence, getDoubleProperty, getErrorCode, getIntProperty, getLongProperty, getPayload, getPayloadAsBytes, getPayloadAsString, getProperty, getProperty, getPropertyNames, getReplyTo, getUniqueId, removeProperty, setBooleanProperty, setCorrelationGroupSize, setCorrelationId, setCorrelationSequence, setDoubleProperty, setErrorCode, setIntProperty, setLongProperty, setProperty, setReplyTo
 

Method Detail

addProperties

public void addProperties(java.util.Map properties)
Adds a map of properties to associated with this message

Parameters:
properties - the properties add to this message

clearProperties

public void clearProperties()
Removes all properties on this message


getProperties

public java.util.Map getProperties()
Returns a map of all properties on this message

Returns:
a map of all properties on this message


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