QuestionQ18

VerifiedDeveloping Mule Applications

Refer to the exhibits. While the Scatter-Gather executes, the "sleep 1 sec" Flow Reference takes approximately 1 second to finish, and the "sleep 5 secs" Flow Reference takes approximately 5 seconds to finish.

Approximately how many seconds elapse from when the Scatter-Gather is called until the Set Payload transformer is called?

Question Image

Explanation

A Scatter-Gather executes all routes in parallel and sends its output to the next processor only after every route completes successfully. Therefore, the downstream Set Payload runs after the longer 5-second route completes, not after the sum of both route durations.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!