Search code examples
mulemule-esb

#[message] vs #[payload] in mule ESB


I could see two different objects - message and payload in Mule Esb. But I am not able to understand the actual characteristics of the both. Could anyone kindly help me to understand this?.


Solution

  • The Mule message, #[message] is the data that passes through an application via one or more flows. It consists of two main parts:

    • The message header, which contains metadata about the message.
    • The message payload, which contains your business-specific data.

    And The message payload #[payload] is the most important part of the Mule message which contains the data your Mule application processes.

    Please refer Mule Documentaion for more details.