LibraryToggle FramesPrintFeedback

Table 1.1 lists the values for the Language attribute.

Table 1.1. Available languages

LanguageAttribute ValueDescription
BeanShellbeanshellThe BeanShell scripting language (see http://www.beanshell.org/).
ConstantconstantAllows the use of constants as an expression.
ELelThe Unified Expression Language (EL), originally developed as part of the JSP standard (see http://juel.sourceforge.net/).
GroovygroovyThe Groovy scripting language (see http://groovy.codehaus.org/).
HeaderheaderExtracts the value of a named header.
JavaScriptjavaScriptThe JavaScript scripting language (see http://developer.mozilla.org/en/docs/JavaScript), also known as ECMAScript (see http://www.ecmascript.org/).
MVELmvelThe MVEL expression language (see http://mvel.codehaus.org/).
OGNLognlThe OGNL (Object Graph Navigation Language) language (see http://www.ognl.org/).
PHPphpThe PHP scripting language (see http://www.php.net/).
PropertypropertyExtracts the value of a named property.
PythonpythonThe Python scripting language (see http://www.python.org/).
RubyrubyThe Ruby scripting language (see http://www.ruby-lang.org/).
SimplesimpleA simple expression language, native to Apache Camel.
SQLsqlThe JoSQL language, which is a language for extracting and manipulating data from collections of Java objects, using a SQL-like syntax (see http://josql.sourceforge.net/).
XPathxpathThe XPath language, which is used to select element, attribute, and text nodes from XML documents (see http://www.w3schools.com/xpath/default.asp). The XPath expression is applied to the current message.
XQueryxqueryThe XQuery language, which is an extension of XPath (see http://www.w3schools.com/xquery/default.asp). The XQuery expression is applied to the current message.

Comments powered by Disqus