Setting, copying, and moving message elements by using a JavaCompute node
Transform elements in the message as it passes through a JavaCompute node in the message flow.
Before you begin
The incoming message and message assembly are read-only. Therefore, to modify a message, you must make a copy of it first. For more information, see Copying and modifying a message by using a JavaCompute node.
About this task
The Java™ API reference information provides details about each of the methods used in the following sections:
Setting information about an element
About this task
Use these methods to set information about the referenced element:
Moving and copying elements
About this task
Use a JavaCompute node
to copy or detach an element from a message tree by using the following
methods:
Use one of four methods to attach an element
or subtree that you have copied on to another tree: