MCD-LEVEL-1 · Question #105
There are three routes configured for Scatter-Gather and incoming event has a payload is an Array of three objects. How routing will take place in this scenario?
The correct answer is D. Entire event would be sent to each route in parallel. Entire event would be sent to each route in parallel. Scatter-Gather works as follows : each processing route. - Each of the processing routes starts executing in parallel. After all processors inside a route finish processing, the route returns a Mule event, which can be…
Question
There are three routes configured for Scatter-Gather and incoming event has a payload is an Array of three objects. How routing will take place in this scenario?
Exhibit
Options
- AIncoming array objects would be split into three and each part would be sent to one route each in
- BIncoming array objects would be split into three and each part would be sent to one route each in
- CEntire event would be sent to each route sequentially
- DEntire event would be sent to each route in parallel
How the community answered
(43 responses)- A5% (2)
- B2% (1)
- D93% (40)
Explanation
Entire event would be sent to each route in parallel. Scatter-Gather works as follows : each processing route. - Each of the processing routes starts executing in parallel. After all processors inside a route finish processing, the route returns a Mule event, which can be either the same Mule event without modifications or a new Mule event created by the processors in the route as a result of the modifications applied. - After all processing routes have finished execution, the Scatter-Gather component creates a new Mule event that combines all resulting Mule events from each route, and then passes the new Mule event to the next component in the flow.
Topics
Community Discussion
No community discussion yet for this question.
