Expression Languages

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

Number of Languages: 20 in 13 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.

CSimple

camel-core-languages

Stable

3.7

Evaluate a compile simple expression language.

DataSonnet

camel-datasonnet

Stable

3.7

To use DataSonnet scripts in Camel expressions or predicates.

ExchangeProperty

camel-core-languages

Stable

2.0

Get values of named Camel Exchange properties.

File

camel-core-languages

Stable

1.1

File related capabilities for the Simle language

Groovy

camel-groovy

Stable

1.3

Evaluate a Groovy script.

Header

camel-core-languages

Stable

1.5

Get values of Camel Message headers.

HL7 Terser

camel-hl7

Stable

2.11

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

jOOR

camel-joor

Stable

3.7

Evaluate a jOOR (Java compiled once at runtime) expression language.

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 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.