The Scatter and Gather EIP explains how to handle a scenario where the incoming request has to be handled by multiple recipients and each recipient will reply back to form an aggregated response.
The following image extracted from the Enterprise Integration Patterns book by Gregor Hohpe illustrates a quote response from different vendors been gathered and aggregated to form the best quote:
Let's take a
CabReservationService as an example. The
CabReservationService will internally call three other business services to find the best taxi fare for a given destination.
We can implement the Scatter and Gather EIP ...