WebSphere Message Broker, Version 8.0.0.7
Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS
See information about the latest product version
See information about the latest product version
Setting and moving message elements using a .NETCompute node
You can transform elements in the message as it passes through a .NETCompute node in the message flow.
The following sections show the methods that you can use
to set, move, and remove elements:
Setting information about an element
Use these properties and methods to set information about
the referenced element:
- Name
- This property sets the name of the current element
- ValueType
- This property sets the specific type of the current element.
- Namespace
- This property sets the namespace URI of the current element
- SetValue
- This method sets the value of the current element
Moving elements
Use the following methods to copy or detach an element from
a message tree:
- Detach
- This method detaches the current element from the tree.
- DetachAllChildren
- This method detaches all children of the current element from the tree.
Use one of the following methods to attach an
element or subtree that you have copied on to another tree:
- AddBefore
- This method adds an element before the referenced element.
- AddAfter
- This method adds an element after the referenced element.
- AddFirst
- This method adds an element as the first child of the referenced element.
- AddLast
- This method adds an element as the last child of the referenced element.
Removing elements
Use these properties and methods to remove elements from
the message tree:
- Delete
- This method deletes the referenced element from the tree.
- DeleteAllChildren
- This method deletes all children of the referenced element from the tree.