Nav
You are viewing an older version of this section. Click here to navigate to the latest version.

Expression Component Reference

icon

This component evaluates an expression. It accepts either a user-defined expression or a reference to a file.

Minimum requirement: The expression or file to evaluate.

Configuration

Unlike the Expression Transformer, the expression component does not replace the message payload with the results of expression evaluation. See the Implementing Business Logic subsection in Mule Expression Language MEL for an example illustrating the use of an expression component.

General Tab

props

  • Display name: Type a useful name for the transformer to display in your flow (optional)

  • Expression: The expression to evaluate

  • File: Absolute path of the file containing the expression to evaluate. Click the ellipsis (…​) button next to the File field to select the file with a browser

Documentation Tab

In this tab, you may optionally type all necessary information about the transformer into the Description field.

In this topic: