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 a node and a subflow node

Use the Message Broker Java™ API to modify a pattern instance to add a new node or subflow node to a message flow.

You can add a new built-in node, or a new subflow node to a message flow.
  • When you add a subflow node by using the Message Broker Java API, 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);
  • If you want to set a node property on a subflow node, use the addNodeProperty() method to set the property before you link the node to the subflow by using the setSubFlow() method. If you use addNodeProperty() after setSubFlow(), the node property might not be stored.
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 | bc31110_