| |
|
| java.lang.Object org.mule.message.BaseMessage
All known Subclasses: org.mule.message.ExceptionMessage,
BaseMessage | public class BaseMessage implements Serializable(Code) | | BaseMessage A default message implementation used for messages sent
over the wire. client messages should NOT implement MuleMessage.
|
addProperties | public void addProperties(Map properties)(Code) | | Adds a map of properties to associated with this message
Parameters: properties - the properties add to this message |
clearProperties | public void clearProperties()(Code) | | Removes all properties on this message
|
getPayload | public Object getPayload()(Code) | | the current message |
getPayloadAsBytes | public byte[] getPayloadAsBytes() throws Exception(Code) | | Converts the message implementation into a String representation
String representation of the message throws: Exception - Implemetation may throw an endpoint specific exception |
getPayloadAsString | public String getPayloadAsString(String encoding) throws Exception(Code) | | Converts the message implementation into a String representation
String representation of the message payload throws: Exception - Implementation may throw an endpoint specific exception |
getProperties | public Map getProperties()(Code) | | Returns a map of all properties on this message
a map of all properties on this message |
|
|
|