When you create a new message flow, the first action to take to
define its function is to add nodes.
Before you start
To
complete this task, you must have completed one of the following tasks:
To add a node to a message flow:
- Switch to the Broker Application Development
perspective.
- Open the message flow that you want to work with.
- Click Selection above the palette of nodes.
- Decide which node you want to add. This
might be a built-in node or a user-defined node. You can select any of the
nodes that appear in the node palette to the left of the editor view. You
can only add one node at a time.
- In Message
Brokers Toolkit Version 5.0, in the palette click the icon that you
want to include in the flow and click again in the editor view at the point
where you want to add the node.
In Message
Brokers Toolkit Version 5.1, drag-and-drop the node that you want
to include in the flow from the node palette into the editor view.
When
you add a node into the editor view, the editor automatically assigns a name
to the node. The name is equal to the type of node for the first instance.
- Repeat steps 4 and 5 to add further nodes.
- You can also add nodes from other flows into this flow. To do this:
- Open the other flow, select the node or nodes that you want
to copy from the editor or outline views, and press Ctrl+C or click .
- Return to the flow that you are currently working with, and
press Ctrl+V or click . This action copies the node or nodes into your current flow.
The node names and properties are preserved in the new copy.
When you have added the nodes that you want in this message flow,
you can connect them to specify the flow of control through the message flow,
and you can configure their properties.