You can configure your message mappings to use a
variety of predefined and user-defined functions.
The following predefined functions are available to use in your
message maps:
- ESQL - prefixed esql:
- XPath - prefixed fn:
- Mapping - prefixed msgmap:
- Schema casts - prefixed xs:
Not all ESQL functions can be used in a
Mapping node. For information
about which functions are supported, and for a description of how
to achieve equivalent processing for ESQL functions that are not supported,
see the
ESQL topics.
The fn:true() function (which always returns true) and
the fn:false() function (which always returns false) are examples
of XPath functions. You can get more information about the other XPath
functions and XPath syntax from the online W3C
XML Path Language document.
The
Mapping node can
also:
- Set the value of a target to a WebSphere® MQ constant.
The expression to set the value looks similar to a function with $mq:
used as the prefix.