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

LanguageStatic MethodFluent DSL MethodXML ElementAnnotationArtifact
Section 2.4, “Bean Integration”bean()EIP().method()method@BeanCamel core
Constantconstant()EIP().constant()constant@ConstantCamel core
ELel()EIP().el()el@ELcamel-juel
Groovygroovy()EIP().groovy()groovy@Groovycamel-groovy
Headerheader()EIP().header()header@HeaderCamel core
JavaScriptjavaScript()EIP().javaScript()javaScript@JavaScriptcamel-script
JoSQLsql()EIP().sql()sql@SQLcamel-josql
JSonPathNoneEIP().jsonpath()jsonpath@JSonPathcamel-jsonpath
JXPathNoneEIP().jxpath()jxpath@JXPathcamel-jxpath
MVELmvel()EIP().mvel()mvel@MVELcamel-mvel
OGNLognl()EIP().ognl()ognl@OGNLcamel-ognl
PHPphp()EIP().php()php@PHPcamel-script
Propertyproperty()EIP().property()property@PropertyCamel core
Pythonpython()EIP().python()python@Pythoncamel-script
Refref()EIP().ref()refN/ACamel core
Rubyruby()EIP().ruby()ruby@Rubycamel-script
Simple/Filesimple()EIP().simple()simple@SimpleCamel core
SpELspel()EIP().spel()spel@SpELcamel-spring
XPathxpath()EIP().xpath()xpath@XPathCamel core
XQueryxquery()EIP().xquery()xquery@XQuerycamel-saxon