Contact Us 1-800-596-4880

Expression Component Reference

Mule runtime engine version 3.8 reached its End of Life on November 16, 2021. For more information, contact your Customer Success Manager to determine how to migrate to the latest Mule version.

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.

  • 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