BookatlasTwo-Day MuleSoft → Salesforce Bootcamp
168 / 279 · Module 10 — Synchronous vs Asynchronous Integrations · filtered: code← prev⊞ allnext →

10.55Outbox pattern mental model

Instead of:

update DB
then publish event

do:

same DB transaction:
  update business data
  insert OutboxEvent

Then separate worker publishes outbox events.

This prevents:

DB state committed
but event permanently lost

It's a useful architecture concept if they push into advanced integration design.