Aggregation nodes using CallableFlowAsyncInvoke nodes with back-end services


Learn how to use the Aggregation nodes to fan-out and fan-in messages using asynchronous Callable Flow nodes.
OVERVIEW

This tutorial demonstrates a simple REST API that receives an HTTP GET, and fans-out two separate asynchronous Callable Flow invocations (after simple transformations using a Mapping node). Two separate example back-end message flows are provided which receive these requests, do a trivial transformation to upper-case the data, and reply. The fan-in part of the REST API aggregates values from the two response messages together.

This tutorial requires an IIB node which is associated with a local queue manager.

In IBM Integration Bus, an application is a container for all the resources that are required to create a solution. A REST API is a specialized form of an application which describes a set of resources, and a set of operations that can be called on those resources from any HTTP client. This tutorial provides a REST API which holds the fan-out / fan-in aggregation flow, and two other applications for the back-end callable flows.

This tutorial takes approximately 5 minutes.
Tutorial Topics
  • Aggregation nodes
  • Asynchronous Callable Flows
Learning outcomes
  • Use IBM Integration Bus to fan-out asynchronous Callable Flow invocations and aggregate their responses.