Expression Languages

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

Number of Languages: 24 in 12 JAR artifacts (7 deprecated)

Language Artifact Status Since Description

Bean method

camel-core

1.3

To use a Java bean (aka method call) in Camel expressions or predicates.

Constant

camel-core

1.5

To use a constant value in Camel expressions or predicates.

EL

camel-juel

deprecated

1.1

To use EL scripts in Camel expressions or predicates.

ExchangeProperty

camel-core

2.0

To use a Camel Exchange property in expressions or predicates.

File

camel-core

1.1

For expressions and predicates using the file/simple language

Groovy

camel-groovy

1.3

To use Groovy scripts in Camel expressions or predicates.

Header

camel-core

1.5

To use a Camel Message header in expressions or predicates.

HL7 Terser

camel-hl7

2.11

To use HL7 terser scripts in Camel expressions or predicates.

JavaScript

camel-script

deprecated

1.0

To use JavaScript in Camel expressions or predicates.

JsonPath

camel-jsonpath

2.13

To use JsonPath in Camel expressions or predicates.

JXPath

camel-jxpath

deprecated

1.3

To use JXPath in Camel expressions or predicates.

MVEL

camel-mvel

2.0

To use MVEL scripts in Camel expressions or predicates.

OGNL

camel-ognl

1.1

To use OGNL scripts in Camel expressions or predicates.

PHP

camel-script

deprecated

1.0

To use PHP scripts in Camel expressions or predicates.

Python

camel-script

deprecated

1.0

To use Python scripts in Camel expressions or predicates.

Ref

camel-core

2.8

Reference to an existing Camel expression or predicate, which is looked up from the Camel registry.

Ruby

camel-script

deprecated

1.0

To use Ruby scripts in Camel expressions or predicates.

Simple

camel-core

1.1

To use Camels built-in Simple language in Camel expressions or predicates.

SpEL

camel-spring

2.7

To use Spring Expression Language (SpEL) in Camel expressions or predicates.

SQL

camel-josql

deprecated

1.0

To use SQL (on Java beans) in Camel expressions or predicates.

Tokenize

camel-core

2.0

To use Camel message body or header with a tokenizer in Camel expressions or predicates.

XML Tokenize

camel-core

2.14

To use Camel message body or header with a XML tokenizer in Camel expressions or predicates.

XPath

camel-core

1.1

To use XPath (XML) in Camel expressions or predicates.

XQuery

camel-saxon

1.0

To use XQuery (XML) in Camel expressions or predicates.