ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 97 - MCD - Level 1 discussion

Report
Export

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?

A.
Incoming array objects would be split into three and each part would be sent to one route each in sequential manner
Answers
A.
Incoming array objects would be split into three and each part would be sent to one route each in sequential manner
B.
Incoming array objects would be split into three and each part would be sent to one route each in parallel
Answers
B.
Incoming array objects would be split into three and each part would be sent to one route each in parallel
C.
Entire event would be sent to each route sequentially
Answers
C.
Entire event would be sent to each route sequentially
D.
Entire event would be sent to each route in parallel
Answers
D.
Entire event would be sent to each route in parallel
Suggested answer: D

Explanation:

Entire event would be sent to each route in parallel.

Scatter-Gather works as follows :

- The Scatter-Gather component receives a Mule event and sends a reference of this Mule event to 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.

asked 18/09/2024
Mohamed Khazem
25 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first