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

Adding connections between nodes

Use the Message Broker Java™ API to modify a pattern instance to add connections between nodes.

You can connect both subflow and built-in nodes using the Message Broker Java API. 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);
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2016Copyright IBM Corporation 1999, 2016.

        
        Last updated:
        
        Last updated: 2016-05-23 14:47:54


Task topicTask topic | Version 8.0.0.7 | bc31140_