Part 7
3 chapters
Coordinating Across Services
Distributed transactions, choreographed saga (+ payment), orchestrated saga (+ shipping), failure modes and the resilience chassis.
Chapter 23
Distributed Transactions, the Saga and Extraction 4: Payment (choreographed)
Checkout's synchronous 201/402 contract becomes an asynchronous 202/PENDING handoff, and a choreographed saga captures payment, confirms or compensates, with idempotency at both hops.
Chapter 24
Orchestrated Sagas & Extraction 5: Shipping (Camel Saga EIP)
Shipping becomes a bounded, orchestrated saga: a Camel Saga EIP coordinator sequences dispatch and owns the compensation decision, and the order context issues the cross-context undo.
Chapter 25
Failure Modes & the Resilience Chassis
Partial failure, timeouts, retries that need idempotency, circuit breakers, bulkheads, compensation and health checks, with SmallRye Fault Tolerance as the Quarkus chassis.