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 Deprecated Since Description

Bean method

camel-bean

1.3

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

Constant

camel-core-languages

1.5

To use a constant value in Camel expressions or predicates. Important: this is a fixed constant value that is only set once during starting up the route, do not use this if you want dynamic values during routing.

ExchangeProperty

camel-core-languages

2.0

To use a Camel Exchange property in expressions or predicates.

File

camel-core-languages

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

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.

JsonPath

camel-jsonpath

2.13

To use JsonPath 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.

Ref

camel-core-languages

2.8

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

Simple

camel-core-languages

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.

Tokenize

camel-core-languages

2.0

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

XML Tokenize

camel-xml-jaxp

2.14

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

XPath

camel-xpath

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.