A Scatter-Gather processes three separate HTTP requests. Each request returns a Mule event with a JSON payload. What is the final output of the Scatter-Gather?
A.
An Array of the three Mule event Objects
B.
An Object containing all three Mule event Objects
C.
An Array of the three JSON payload Objects
D.
An Object containing all three JSON payload Objects
Correct answer is An Object containing all three Mule event Objects
The Scatter-Gather component is a routing event processor that processes a Mule event through different parallel processing routes that contain different event processors. Each route receives a reference to the Mule event and executes a sequence of one or more event processors. Each of these routes uses a separate thread to execute the event processors, and the resulting Mule event can be either the same Mule event without modifications or a new Mule event with its own payload, attributes, and variables. The Scatter-Gather componentthen combines the Mule events returned by each processingroute into a new Mule event that is passed to the next event processor only after every route completes successfully.
The Scatter-Gather component executes each route in parallel, not sequentially.Parallel execution of routes can greatly increase the efficiency of your Mule application and may provide more information than sequential processing.
Sample output is as below
Table
Description automatically generated with low confidence
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit