Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 11. Introduction
Abstract
This chapter provides an overview of all the expression languages supported by Apache Camel.
11.1. Overview of the Languages Copier lienLien copié sur presse-papiers!
Copier lienLien copié sur presse-papiers!
Table of expression and predicate languages Copier lienLien copié sur presse-papiers!
Copier lienLien copié sur presse-papiers!
Table 11.1, “Expression and Predicate Languages” gives an overview of the different syntaxes for invoking 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 |
| 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 |