mule 4.0

Global & Local Variables In DataWeave 2.0

We can create a global variable in the header using var directive. We need to give it a name and…

3 years ago

Variables in DataWeave 2.0 (Mule 4)

Variables are a way to store values with a given name so they can be later reused from different parts…

3 years ago

Error Handling in Mule 4

An exception occurs when an unexpected event happens while processing. Exception (or error) handling is the process of responding to…

3 years ago

Scatter-Gather Router

The Scatter-Gather component is a routing event processor that processes a Mule event through different parallel processing routes that contain…

3 years ago

Custom Metadata Selector (.^myCustomMetadata)

The following example uses userName.^myCustomMetadata to return the value of custom metadata that is defined as a variable (named userName)…

3 years ago

Raw Metadata Selector (.^raw)

The following example uses the Set Payload component (set-payload) to produce a binary value, then uses the Transform Message component…

3 years ago

MIME Type Metadata Selector (.^mimeType)

In the following Mule app flow, the Loggers use payload.^mimeType to select a string "my string", then to select a…

3 years ago

Media Type Metadata Selector (.^mediaType)

Returns the MIME type of a value that includes parameters (for example, application/json;charset=UTF-16). The expression in the value of {…

3 years ago

Encoding Metadata Selector (.^encoding)

In the following Mule app flow, the Logger uses payload.^encoding to select the encoding of "my string"`set in the Set…

3 years ago

Class Metadata Selector (.^class)

Returns the class of the Plain Old Java Object (POJO). The value might result from calling a method in a…

3 years ago