LibraryToggle FramesPrintFeedback

Table 1.2 lists the elements that you can insert whenever the context demands an expression or a predicate. The content of the element must be a script written in the relevant language. At runtime, the return value of the script is read by the parent element.

Table 1.2. Elements for Expression and Predicate Languages

ElementLanguageDescription
simpleSimpleA simple expression language, native to Fuse Mediation Router.
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.
sqlJoSQLThe 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/).
ognlOGNLThe OGNL (Object Graph Navigation Language) language (see http://www.ognl.org/).
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/).
javaScriptJavaScriptThe JavaScript scripting language (see http://developer.mozilla.org/en/docs/JavaScript), also known as ECMAScript (see http://www.ecmascript.org/).
phpPHPThe PHP scripting language (see http://www.php.net/).
pythonPythonThe Python scripting language (see http://www.python.org/).
rubyRubyThe Ruby scripting language (see http://www.ruby-lang.org/).
mvelMVELThe MVEL expression language (see http://mvel.codehaus.org/).
<... language="beanshell">BeanShellThe BeanShell scripting language (see http://www.beanshell.org/).
beanBeanNot really a language. The bean element is actually a mechanism for integrating with Java beans. You use the bean element to obtain an expression or predicate by invoking a method on a Java bean.

Comments powered by Disqus
loading table of contents...