Show Table of Contents
Chapter 13. Introduction
Abstract
This chapter provides an overview of all the expression languages supported by Apache Camel.
13.1. Overview of the Languages
Table of expression and predicate languages
Table 13.1, “Expression and Predicate Languages” gives an overview of the different syntaxes for invoking expression and predicate languages.
Table 13.1. Expression and Predicate Languages
| Language | Static Method | Fluent DSL Method | XML Element | Annotation | Artifact |
|---|---|---|---|---|---|
| Section 2.4, “Bean Integration” | bean() | EIP().method() | method | @Bean | Camel core |
| Constant | constant() | EIP().constant() | constant | @Constant | Camel core |
| EL | el() | EIP().el() | el | @EL | camel-juel |
| Groovy | groovy() | EIP().groovy() | groovy | @Groovy | camel-groovy |
| Header | header() | EIP().header() | header | @Header | Camel core |
| JavaScript | javaScript() | EIP().javaScript() | javaScript | @JavaScript | camel-script |
| JoSQL | sql() | EIP().sql() | sql | @SQL | camel-josql |
| JSonPath | None | EIP().jsonpath() | jsonpath | @JSonPath | camel-jsonpath |
| JXPath | None | EIP().jxpath() | jxpath | @JXPath | camel-jxpath |
| MVEL | mvel() | EIP().mvel() | mvel | @MVEL | camel-mvel |
| OGNL | ognl() | EIP().ognl() | ognl | @OGNL | camel-ognl |
| PHP | php() | EIP().php() | php | @PHP | camel-script |
| Property | property() | EIP().property() | property | @Property | Camel core |
| Python | python() | EIP().python() | python | @Python | camel-script |
| Ref | ref() | EIP().ref() | ref | N/A | Camel core |
| Ruby | ruby() | EIP().ruby() | ruby | @Ruby | camel-script |
| Simple/File | simple() | EIP().simple() | simple | @Simple | Camel core |
| SpEL | spel() | EIP().spel() | spel | @SpEL | camel-spring |
| XPath | xpath() | EIP().xpath() | xpath | @XPath | Camel core |
| XQuery | xquery() | EIP().xquery() | xquery | @XQuery | camel-saxon |

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.