public class MessageContext
extends Object
Exposes information about the current Mule message:
id The unique message id
rootId The root message id. The id of the message before being split into parts.
If was is not split then this value is the same as the id.
correlationId The message correlationId.
correlationSequence The message correlation sequence number.
correlationGroupSize The message correlation group size.
dataType The message data type (org.mule.api.transformer.DataType).
replyTo The message reply to destination. (mutable)
payload The message payload (mutable). You can also use message.payloadAs(Class clazz). Note: If the message payload is NullPayload, this method will return null (from 3.4)
inboundProperties Map of inbound message properties (immutable).
outboundProperties Map of outbound message properties.
inboundAttachements Map of inbound message attachments (immutable).
outboundAttachements Map of outbound message attachments.