What happens if a scatter-gather throws an error?

Prepare for the MuleSoft Integration Architect exam. Study with flashcards and multiple-choice questions, each offering hints and explanations to deepen understanding. Ace your exam with our focused preparation tools!

Multiple Choice

What happens if a scatter-gather throws an error?

Explanation:
Scatter-gather runs multiple routes in parallel for one event. If any one of those routes throws an error, the error is raised for the whole flow, and the processing of that event stops until an error handler catches and resolves it. That’s why the effect is that event processing does not continue with the next event until the error is addressed. The error isn’t simply a bag of route results, nor is it typically a composite that is automatically handed to error handlers, and you don’t automatically go back to a previous step—the flow waits for error handling or retries as defined.

Scatter-gather runs multiple routes in parallel for one event. If any one of those routes throws an error, the error is raised for the whole flow, and the processing of that event stops until an error handler catches and resolves it. That’s why the effect is that event processing does not continue with the next event until the error is addressed. The error isn’t simply a bag of route results, nor is it typically a composite that is automatically handed to error handlers, and you don’t automatically go back to a previous step—the flow waits for error handling or retries as defined.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy