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.此内容没有您所选择的语言版本。
Chapter 1. Introduction
Abstract
This chapter provides an overview of all the expression languages supported by Apache Camel.
1.1. Overview of the Languages 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
Table of expression and predicate languages 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
Table 1.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 "Bean Integration" in "Implementing Enterprise Integration Patterns" | 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 |