Group nodes in IBM App Connect
Here in this blog, we are going to learn about Group nodes in IBM App Connect. The group nodes are introduced in the IBM APP Connect V10.The group nodes are used to create fan-out/fan-in style for the application. These nodes are similar to aggregate nodes that are used for the aggregation style operations. But Aggregate node required queue manager that is associated with integration node.
Whereas the group nodes does not need any local queue manager. They are three types of group nodes they are
- Group Scatter node
- Group Gather node
- Group Complete node
The group scatter node is used to split the input messages and work on each group independently and then combine the output at later stage. This node is used to control the node that allows you to collect multiple messages and process them as a single message. It can be used to combine multiple messages from different sources, such as different queues or different branches of a flow, into a single message, which can then be processed by another node in the flow. The “Group Complete” node in IBM App Connect is a flow control node that allows you to signal the completion of a group of messages that have been processed by a “Group Gather” node. It can be used to indicate that all of the messages in a group have been processed and that the group can be closed. Once the Group Complete node is triggered, it will release all the messages that have been gathered by the Group Gather node, allowing them to continue processing downstream.
- Create one integration node and integration server.
- Create 2 Applications and each application has one flow as specified in the diagram.
- Deploy the applications into the server and invoke them.
When we hit the application the JSON data passes from the HTTP input node is pass to the GROUP SCATTER node at the group scatter the message will split and goes to the required nodes and collect the information from the backend Application and the information is passed to the GROUP GATHER node it is used for collect the total information and passes to the GROUP COMPLETE node it is an input node when the group gather node collect the information it will trigger the group complete node from their the information is passed to the HTTP reply node.