Expressions
The pipelite-expression module provides a textual expression evaluation engine used by filter and ExpressionCondition.
Syntax
Expressions are Java strings evaluated at runtime.
The central placeholder is ${body}, which refers to the current payload of the Exchange.
Usage in DSL
Implementation
The expression engine is implemented in TextExpressionEvaluator (module pipelite-core).
It resolves placeholders on the ExpressionVariables populated from the current Exchange.
The ExpressionUtils (package io.pipelite.core.support.expression) provides helper methods for programmatic expression evaluation.
The expression engine is intentionally simple.
For complex conditional logic, prefer using a Processor with standard Java code.
|