Expression Languages

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

Number of Languages: 23 in 16 JAR artifacts (0 deprecated)

Language Artifact Support Level Since Description

Bean Method

camel-bean

Stable

1.3

Calls a Java bean method.

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 compiled simple expression.

DataSonnet

camel-datasonnet

Stable

3.7

To use DataSonnet scripts for message transformations.

ExchangeProperty

camel-core-languages

Stable

2.0

Gets a property from the Exchange.

File

camel-core-languages

Stable

1.1

File related capabilities for the Simple language

Groovy

camel-groovy

Stable

1.3

Evaluates a Groovy script.

Header

camel-core-languages

Stable

1.5

Gets a header from the Exchange.

HL7 Terser

camel-hl7

Stable

2.11

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

JavaScript

camel-javascript

Stable

3.20

Evaluates a JavaScript expression.

jOOR

camel-joor

Stable

3.7

Evaluates a jOOR (Java compiled once at runtime) expression.

JQ

camel-jq

Stable

3.18

Evaluates a JQ expression against a JSON message body.

JSONPath

camel-jsonpath

Stable

2.13

Evaluates a JSONPath expression against a JSON message body.

MVEL

camel-mvel

Stable

2.0

Evaluates a MVEL template.

OGNL

camel-ognl

Stable

1.1

Evaluates an OGNL expression (Apache Commons OGNL).

Python

camel-python

Experimental

3.19

Evaluates a Python expression.

Ref

camel-core-languages

Stable

2.8

Uses an existing expression from the registry.

Simple

camel-core-languages

Stable

1.1

Evaluates a Camel simple expression.

SpEL

camel-spring

Stable

2.7

Evaluates a Spring expression (SpEL).

Tokenize

camel-core-languages

Stable

2.0

Tokenize text payloads using delimiter patterns.

XML Tokenize

camel-stax

Stable

2.14

Tokenize XML payloads.

XPath

camel-xpath

Stable

1.1

Evaluates an XPath expression against an XML payload.

XQuery

camel-saxon

Stable

1.0

Evaluates an XQuery expressions against an XML payload.