Apache Camel — Scatter / Gather

The Scatter-Gather from the EIP patterns allows you to route messages to a number of dynamically specified recipients and re-aggregate the responses back into a single message.

Eg. below — use a dynamic Recipient List to get the request for a quote to all vendors and anAggregator to pick the best quote out of all the responses. The routes for this are defined as:

References:

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.