Pattern 53 / CONSISTENCY

Transactional Messaging

Use this when Coordinating local state changes with external messages.

Pressure
Coordinating local state changes with external messages
Mechanism
Wrap state transition and message intent in a durable unit, then deliver asynchronously with retries
Toll
Eventual consistency and operational repair paths must be explicit
Architecture plate53
Diagram for Transactional Messaging
Executive brief

Transactional Messaging fits when Coordinating local state changes with external messages. Mechanism: Wrap state transition and message intent in a durable unit, then deliver asynchronously with retries. Use it for Microservice workflows where distributed transactions are too expensive. The toll: Eventual consistency and operational repair paths must be explicit.

Use when

Microservice workflows where distributed transactions are too expensive.

Example

Use transactional messaging when microservice workflows where distributed transactions are too expensive..

Review framing

Describe the pressure first, then the mechanism, then the cost. That keeps the design grounded.

Same pressure family

Consistency / Messaging

51Outbox Pattern52Inbox Pattern
โ† 5254 โ†’