How are data collections routed in a Scatter-Gather flow control?

Study for the MuleSoft Associate / Development Fundamental Test. Master key concepts with flashcards and multiple choice questions, complete with hints and explanations. Prepare thoroughly for your exam!

Multiple Choice

How are data collections routed in a Scatter-Gather flow control?

Explanation:
Scatter-Gather fan-outs a message to multiple routes in parallel. In this pattern, Mule duplicates the incoming payload and sends the same message to every route inside the scatter, with all routes processing concurrently. After parallel processing, their results are typically gathered by an aggregator. So data collections are routed by delivering the entire message to each route and letting them run in parallel. If you need to handle different parts of a collection with separate routes, you’d split the collection first (for example with a splitter or a For Each) before applying parallel routes.

Scatter-Gather fan-outs a message to multiple routes in parallel. In this pattern, Mule duplicates the incoming payload and sends the same message to every route inside the scatter, with all routes processing concurrently. After parallel processing, their results are typically gathered by an aggregator. So data collections are routed by delivering the entire message to each route and letting them run in parallel. If you need to handle different parts of a collection with separate routes, you’d split the collection first (for example with a splitter or a For Each) before applying parallel routes.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy