ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 93 - MCD - Level 1 discussion

Report
Export

Refer to exhibits.

In the execution of the Scatter-Gather , the flow route completes after 10 seconds and the flow2 route completes in 40 seconds. How many seconds does it take for the Scatter-Gather to complete?

A.
10
Answers
A.
10
B.
50
Answers
B.
50
C.
40
Answers
C.
40
D.
20
Answers
D.
20
Suggested answer: C

Explanation:

Scatter-Gather sends the event to each routes concurrently. Hence both route in this example will start in parallel. So total time to complete processing is 40 seconds

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 component then combines the Mule events returned by each processing route 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.

Mule Ref Doc :https://docs.mulesoft.com/mule-runtime/4.3/scatter-gather-concept

asked 18/09/2024
Vikram Panchal
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first