Expression Languages

Below is the list of expression languages that are provided by Apache Camel.

Number of Languages: 17 in 11 JAR artifacts (0 deprecated)

Language Artifact Support Level Since Description

Bean method

camel-bean

Stable

1.3

Call a method of the specified Java bean passing the Exchange, Body or specific headers to it.

Constant

camel-core-languages

Stable

1.5

A fixed value set only once during the route startup.

ExchangeProperty

camel-core-languages

Stable

2.0

Get the value of named Camel Exchange property.

File

camel-core-languages

Stable

1.1

For expressions and predicates using the file/simple language.

Groovy

camel-groovy

Stable

1.3

Evaluate a Groovy script.

Header

camel-core-languages

Stable

1.5

Get the value of the named Camel Message header.

HL7 Terser

camel-hl7

Stable

2.11

Get the value of an HL7 message field specified by terse location specification syntax.

JsonPath

camel-jsonpath

Stable

2.13

Evaluate a JsonPath expression against a JSON message body.

MVEL

camel-mvel

Stable

2.0

Evaluate an MVEL template against the Camel Exchange.

OGNL

camel-ognl

Stable

1.1

Evaluate an Apache Commons Object Graph Navigation Library (OGNL) expression against the Camel Exchange.

Ref

camel-core-languages

Stable

2.8

Look up an expression in the Camel Registry and evaluate it.

Simple

camel-core-languages

Stable

1.1

Evaluate Camel’s built-in Simple language expression against the Camel Exchange.

SpEL

camel-spring

Stable

2.7

Evaluate a Spring Expression Language (SpEL) expression against the Camel Exchange.

Tokenize

camel-core-languages

Stable

2.0

Tokenize text payloads using the specified delimiter patterns.

XML Tokenize

camel-xml-jaxp

Stable

2.14

Tokenize XML payloads using the specified path expression.

XPath

camel-xpath

Stable

1.1

Evaluate an XPath expression against an XML payload.

XQuery

camel-saxon

Stable

1.0

Evaluate an XQuery expressions against an XML payload.