Mulesoft

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

Content Length Metadata Selector (.^contentLength)

In the following Mule app flow, the Logger uses payload.^contentLength to select the length of the string my string, set…

3 years ago

Metadata Selector (.^someMetadata)

Returns the value of specified metadata for a Mule payload, variable, or attribute.

3 years ago

Filter Selectors (myKey[?($ == “aValue”)])

myKey[?($ == "aValue")] returns only the values of matching keys within an array or object. Note that ? is also…

3 years ago

Selector Modifiers (!, ?)

You can check for the presence of a given key. ! evaluates the selection and fails with an exception message…

3 years ago

Namespace Selector (#)

# returns the XML namespace of a selected key as plain text.

3 years ago