Nav

About Mule Event

A Mule event contains the core information processed by the runtime. It travels through components inside your Mule app following the configured application logic.

Note that the Mule event is immutable, so every change to an instance of a Mule event results in the creation of a new instance.

A Mule Event is composed of these objects:

  • A Mule Message contains a message payload and its associated attributes.

  • Variables are Mule event metadata that you use in your flow.

mule-concepts-d46f9

A Mule event is generated when a trigger (such as an HTTP request or a change to a database or file) reaches the Event source of a flow. This trigger could be an external event triggered by a resource that might be external to the Mule app.

about-mule-event-2724e.png
  1. A trigger reaches the event source.

  2. The event source produces a Mule event.

  3. The Mule event travels sequentially through the components of a flow.

  4. Each component interacts in a pre-defined manner with the Mule event.

In this topic: