Microservices Pattern: Transactional Outbox

Status::
Links::

Metadata

Authors:: Richardson, Chris
Title:: Microservices Pattern: Transactional Outbox
Date:: 2017
URL:: http://microservices.io/patterns/data/transactional-outbox.html
DOI::

Notes & Annotations

Color-coded highlighting system used for annotations

📑 Annotations (imported on 2024-01-25#13:13:49)

richardson.2017.transactionaloutboxpattern (pg. 1)

How to atomically update the database and send messages to a message broker?

richardson.2017.transactionaloutboxpattern (pg. 1)

The solution is for the service that sends the message to first store the message in the database as part of the transaction that updates the business entities. A separate process then sends the messages to the message broker.