Fuse 6 is no longer supported
As of February 2025, Red Hat Fuse 6 is no longer supported. If you are using Fuse 6, please upgrade to Red Hat build of Apache Camel.Este contenido no está disponible en el idioma seleccionado.
Chapter 13. Introduction
Abstract
This chapter provides an overview of all the expression languages supported by Apache Camel.
13.1. Overview of the Languages Copiar enlaceEnlace copiado en el portapapeles!
Copiar enlaceEnlace copiado en el portapapeles!
Table of expression and predicate languages Copiar enlaceEnlace copiado en el portapapeles!
Copiar enlaceEnlace copiado en el portapapeles!
Table 13.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 |
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 |