๐Ÿ—๏ธ Modernizing Enterprise Applications
Home Chapters Examples Diagrams Bibliography GitHub โ†—
Home / Coordinating Across Services
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.

35 minutesRead โ†’
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.

40 minutesRead โ†’
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.

Read โ†’
โ† Previous part Data Across the Seam Next part โ†’ Communication & Contracts

Modernizing Enterprise Applications

A Spring Boot monolith strangled to Quarkus + Camel microservices, one seam at a time, driven by an Agentic Development Lifecycle (ADLC) and tested throughout.

Book

  • Chapters
  • Examples
  • Bibliography
  • Build plan โ†—

Reference

  • Quarkus โ†—
  • Apache Camel โ†—
  • View on GitHub โ†—
  • Issues โ†—
Open source ยท Apache 2.0 Last built 2026-11-11