Which description matches the Command/Orchestration SAGA pattern?

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

Which description matches the Command/Orchestration SAGA pattern?

Explanation:
SAGA orchestration relies on a central coordinator that drives the entire long-running transaction by issuing explicit commands to each participating service. The orchestrator defines the sequence, invokes a local transaction in one service, waits for its result, and then instructs the next service to proceed, handling compensations if something goes wrong. The described flow fits this pattern because there’s a central control flow: one API initiates and directs the subsequent steps two more services must perform, moving the process toward delivery. This centralized coordination contrasts with plain event-driven choreography, where services emit and react to events with no single orchestrator directing the sequence. The idea of one API handling everything is inconsistent with a distributed saga, which involves coordinated work across multiple services.

SAGA orchestration relies on a central coordinator that drives the entire long-running transaction by issuing explicit commands to each participating service. The orchestrator defines the sequence, invokes a local transaction in one service, waits for its result, and then instructs the next service to proceed, handling compensations if something goes wrong.

The described flow fits this pattern because there’s a central control flow: one API initiates and directs the subsequent steps two more services must perform, moving the process toward delivery. This centralized coordination contrasts with plain event-driven choreography, where services emit and react to events with no single orchestrator directing the sequence. The idea of one API handling everything is inconsistent with a distributed saga, which involves coordinated work across multiple services.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy