<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Outbox Setup :: Juice&#39;s documentation</title>
    <link>https://docs.pavellis.com/core/messaging/outbox/index.html</link>
    <description>Overview The Outbox pattern ensures messages are staged within the same database transaction as your domain changes, so no message is ever lost if the broker is unavailable at commit time. The IOutboxService&lt;TContext&gt; stores events in an OutboxEvent table inside your DbContext transaction; a separate DeliveryHostedService picks them up and forwards them to the broker.&#xA;When to use Your command handler modifies domain state and must publish a message atomically You are replacing direct IEventBus.PublishAsync() calls from v8.5.0 You want to publish plain domain events without converting them to IntegrationEvent The delivery worker may run in a separate process or be added later Prerequisites Internal Messaging Setup — required for TransactionBehavior’s DbContext dependency injection.</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate></lastBuildDate>
    <atom:link href="https://docs.pavellis.com/core/messaging/outbox/index.xml" rel="self" type="application/rss+xml" />
  </channel>
</rss>