What describes the final output when a Scatter-Gather collects results from multiple routes returning JSON objects?

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

What describes the final output when a Scatter-Gather collects results from multiple routes returning JSON objects?

Explanation:
Scatter-Gather sends the message to several routes in parallel and then collects each route’s response into a single collection. When those routes return JSON objects, the final payload is an array (a List) where each element is one of those JSON objects, in the order the routes were executed. It’s not merged into one object, not a flat text string, and not a map from route names to responses.

Scatter-Gather sends the message to several routes in parallel and then collects each route’s response into a single collection. When those routes return JSON objects, the final payload is an array (a List) where each element is one of those JSON objects, in the order the routes were executed. It’s not merged into one object, not a flat text string, and not a map from route names to responses.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy