QuestionQ43

VerifiedImplement performant and reliable Mule applications

Which pattern should be used to call multiple HTTP APIs in parallel and roll back any failed requests sequentially?

Explanation

A Scatter-Gather pattern executes independent API routes in parallel, while a central Saga orchestrator coordinates the distributed transaction. If a route fails, the orchestrator invokes compensating actions for already completed operations in the required rollback sequence. MuleSoft documents that Scatter-Gather processes routes in parallel and collects route errors for handling.

Learn more

Community Discussion

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