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
Adding connections between nodes
Use the Message Broker Java™ API when developing message flow applications to add connections between nodes.
You can connect both subflow and built-in nodes. The first
example shows you how to connect two built-in nodes. The second example
shows you how to connect a built-in node to a subflow node.
To use the terminals of a subflow node, you must
link the subflow node with the subflow message flow by using the setSubFlow() method
of the subflow node object. For example, if you have assigned your
subflow message flow to message flow instance sub1 and
you have assigned your subflow node to subflow node instance sfNode,
you must use the following statement to link the subflow node with
the subflow message flow:
sfNode.setSubFlow(sub1);