Red Hat Training

A Red Hat training course is available for Red Hat Fuse

31.10. Function Reference

Table of custom functions

Table 31.4, “XPath Custom Functions” shows the custom functions that you can use in Apache Camel XPath expressions. These functions can be used in addition to the standard XPath functions.

Table 31.4. XPath Custom Functions

in:body()Returns the In message body.
in:header(HeaderName)Returns the In message header with name, HeaderName.
out:body()Returns the Out message body.
out:header(HeaderName)Returns the Out message header with name, HeaderName.
function:properties(PropKey)Looks up a property with the key, PropKey (see Section 2.7, “Property Placeholders”).
function:simple(SimpleExp)Evaluates the specified simple expression, SimpleExp.