com.ibm.broker.config.appdev.nodes

Class RouteNode

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable


    public class RouteNode
    extends Node

    RouteNode instance

    The Route node is used to propagate the incoming message down one or more dynamic output terminals. Which terminal is propagated to depends on filter expression resolving to true. These expressions may incoporate values extracted from elements within the incoming message tree.

     Change Activity:
     -------- ----------- -------------   ------------------------------------
     Reason:  Date:       Originator:     Comments:
     -------- ----------- -------------   ------------------------------------
     xxxxx.x  2010-08-10  dstorey         creation
     xxxxx.x  xxxx-xx-xx  generated       7.0.0.2 Release
     
    See Also:
    Serialized Form
    • Field Detail

      • INPUT_TERMINAL_IN

        public final InputTerminal INPUT_TERMINAL_IN
      • OUTPUT_TERMINAL_FAILURE

        public final OutputTerminal OUTPUT_TERMINAL_FAILURE
      • OUTPUT_TERMINAL_DEFAULT

        public final OutputTerminal OUTPUT_TERMINAL_DEFAULT
    • Constructor Detail

      • RouteNode

        public RouteNode()
    • Method Detail

      • getFilterTable

        public RouteNode.FilterTable getFilterTable()
        Retrieve the Filter table table for the node RouteNode
        Returns:
        FilterTable instance which contains FilterTableRow rows
      • getInputTerminals

        public InputTerminal[] getInputTerminals()
        Description copied from class: Node
        Gets the full list of available InputTerminals for this Node
        Specified by:
        getInputTerminals in class Node
        Returns:
        InputTerminal[]
      • getOutputTerminals

        public OutputTerminal[] getOutputTerminals()
        Description copied from class: Node
        Gets the full list of available OutputTerminals for this Node
        Specified by:
        getOutputTerminals in class Node
        Returns:
        OutputTerminal[]
      • getOutputTerminal

        public OutputTerminal getOutputTerminal(java.lang.String terminalName)
        Description copied from class: Node
        Gets the output terminal for the node. If the terminal is a dynamic terminal this will create the terminal and return it.
        Overrides:
        getOutputTerminal in class Node
        Parameters:
        terminalName - String; the internal terminal name
        Returns:
        an OutputTerminal
      • getTypeName

        public java.lang.String getTypeName()
        Description copied from class: Node
        Gets the node type of this node
        Specified by:
        getTypeName in class Node
        Returns:
        String; the node type
      • setDistributionMode

        public RouteNode setDistributionMode(RouteNode.ENUM_ROUTE_DISTRIBUTIONMODE value)
        Set the RouteNode "Distribution mode" property
        Parameters:
        value - ENUM_ROUTE_DISTRIBUTIONMODE ; the value to set the property "Distribution mode"
      • getDistributionMode

        public RouteNode.ENUM_ROUTE_DISTRIBUTIONMODE getDistributionMode()
        Get the RouteNode "Distribution mode" property
        Returns:
        ENUM_ROUTE_DISTRIBUTIONMODE; the value of the property "Distribution mode"
      • getNodeName

        public java.lang.String getNodeName()
        Description copied from class: Node
        Gets the label name of this node
          MessageFlow mf1 = patternInstanceManager.getMessageFlow("MyFlowProject", "mf1.msgflow");
          Node inputMQNode = mf1.getNodeByName("My Input Node");
          inputMQNode.setNodeName("Renamed Input Node");
         
        Overrides:
        getNodeName in class Node
        Returns:
        String; the node name