Appendix A. The expression evaluation framework

Mule offers a rich expression evaluation framework that allows you to hook advanced logic into different parts of your configuration. In chapters 4 and 5, we mentioned the possibility of using evaluators. In this appendix, we’ll review the existing evaluators and present different examples, side by side, to help you realize how versatile and powerful they are.

In short, an expression evaluator evaluates an expression on an object. The nature of the expression and the type of object accepted actually depends on the type of the evaluator. Most of the time, the object consists of the instance of MuleMessage that’s currently under processing.

Table A.1 presents an overview of the evaluators available ...

Get Mule in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.