Excalibur.Outbox
10.0.0-alpha.16
dotnet add package Excalibur.Outbox --version 10.0.0-alpha.16
NuGet\Install-Package Excalibur.Outbox -Version 10.0.0-alpha.16
<PackageReference Include="Excalibur.Outbox" Version="10.0.0-alpha.16" />
<PackageVersion Include="Excalibur.Outbox" Version="10.0.0-alpha.16" />
<PackageReference Include="Excalibur.Outbox" />
paket add Excalibur.Outbox --version 10.0.0-alpha.16
#r "nuget: Excalibur.Outbox, 10.0.0-alpha.16"
#:package Excalibur.Outbox@10.0.0-alpha.16
#addin nuget:?package=Excalibur.Outbox&version=10.0.0-alpha.16&prerelease
#tool nuget:?package=Excalibur.Outbox&version=10.0.0-alpha.16&prerelease
Excalibur.Outbox
Transactional outbox pattern implementation for reliable message delivery.
Installation
dotnet add package Excalibur.Outbox
Features
IOutboxStore- Outbox message persistence abstractionOutboxOptions- Configuration for outbox behavior- TypeForwarders for backward compatibility with existing code
- Framework-owned claims, attempt budgets, backoff scheduling and dead-letter transitions
Usage
services.AddDispatch(dispatch => dispatch.UseOutbox());
services.AddExcalibur(x => x.AddOutbox(outbox => outbox
.UseSqlServer(sql => sql.ConnectionString(connectionString))
.WithProcessing(processing => processing
.BatchSize(100)
.MaxRetryCount(3)
.RetryDelay(TimeSpan.FromSeconds(10)))
.EnableBackgroundProcessing()));
Transactional Outbox Pattern
Handlers explicitly buffer events through IOutboxWriter. The middleware stages them after successful
handling, and the opt-in hosted processor claims and delivers eligible messages. Register handlers and
the selected transport as appropriate for your application. A shared business-data transaction requires
the corresponding transaction integration; buffering alone does not make business writes atomic.
BatchSize sets producer and consumer batch defaults. MaxRetryCount excludes the initial attempt:
three retries means four total attempts; zero means one. RetryDelay supplies the default fixed backoff
calculator for this processor. Backoff-capable stores retain the later of that schedule and their failure
floor. A consumer-supplied IBackoffCalculator, including the Polly adapter, takes precedence.
Explicit Configure/PostConfigure callbacks for delivery and background options override builder
defaults regardless of registration order. Inspect those resolved options for effective diagnostics.
For int.MaxValue retries, the initial attempt makes the default total unrepresentable; configure a
positive OutboxDeliveryOptions.MaxAttempts total explicitly or choose fewer retries. Delivery options
are validated when consumed, so a custom publisher can own an independent policy.
Runtime payload serialization may require source-generated serializer configuration for trimming or Native AOT. The local runtime controls do not certify every provider under Native AOT.
Related Packages
Excalibur.Outbox.SqlServer- SQL Server outbox implementationExcalibur.Dispatch.Abstractions- Message and outbox interfaces
License
This project is multi-licensed under:
See LICENSE for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Ben.Demystifier (>= 0.4.1)
- CloudNative.CloudEvents (>= 2.8.0)
- CloudNative.CloudEvents.SystemTextJson (>= 2.8.0)
- Cronos (>= 0.12.0)
- Dapper (>= 2.1.72)
- Excalibur.Data.Abstractions (>= 10.0.0-alpha.16)
- Excalibur.Dispatch (>= 10.0.0-alpha.16)
- Excalibur.Dispatch.Abstractions (>= 10.0.0-alpha.16)
- Excalibur.Dispatch.LeaderElection.Abstractions (>= 10.0.0-alpha.16)
- Excalibur.Hosting (>= 10.0.0-alpha.16)
- FluentValidation (>= 12.1.1)
- FluentValidation.DependencyInjectionExtensions (>= 12.1.1)
- IdentityModel (>= 7.0.0)
- JsonNet.ContractResolvers (>= 2.0.0)
- Medo.Uuid7 (>= 3.2.0)
- MemoryPack (>= 1.21.4)
- Microsoft.Extensions.Caching.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Caching.Memory (>= 10.0.10)
- Microsoft.Extensions.Configuration (>= 10.0.10)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.10)
- Microsoft.Extensions.Configuration.CommandLine (>= 10.0.10)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 10.0.10)
- Microsoft.Extensions.Configuration.Json (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 10.0.10)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Hosting (>= 10.0.10)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Http (>= 10.0.10)
- Microsoft.Extensions.Logging (>= 10.0.10)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Logging.Console (>= 10.0.10)
- Microsoft.Extensions.ObjectPool (>= 10.0.10)
- Microsoft.Extensions.Options (>= 10.0.10)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.10)
- Microsoft.Extensions.Options.DataAnnotations (>= 10.0.10)
- Microsoft.IdentityModel.Tokens (>= 8.17.0)
- Polly (>= 8.6.6)
- System.IdentityModel.Tokens.Jwt (>= 8.17.0)
- System.IO.Hashing (>= 10.0.7)
- System.Threading.RateLimiting (>= 10.0.7)
NuGet packages (15)
Showing the top 5 NuGet packages that depend on Excalibur.Outbox:
| Package | Downloads |
|---|---|
|
Excalibur.A3
Authorization, Authentication, and Audit (A3) services for the Excalibur framework. PRE-RELEASE: the public API is not frozen and may change between pre-release builds. Not recommended for production use. Known issues: https://docs.excalibur-dispatch.dev/docs/known-issues |
|
|
Excalibur.Data.MongoDB
MongoDB database provider implementation for Excalibur data access layer. PRE-RELEASE: the public API is not frozen and may change between pre-release builds. Not recommended for production use. Known issues: https://docs.excalibur-dispatch.dev/docs/known-issues |
|
|
Excalibur.LeaderElection
Core leader election utilities for the Excalibur framework. Provides distributed coordination capabilities with pluggable providers (SqlServer, Redis, Consul, Kubernetes, InMemory). PRE-RELEASE: the public API is not frozen and may change between pre-release builds. Not recommended for production use. Known issues: https://docs.excalibur-dispatch.dev/docs/known-issues |
|
|
Excalibur.Data.InMemory
In-memory provider implementation for Excalibur data access layer testing. PRE-RELEASE: the public API is not frozen and may change between pre-release builds. Not recommended for production use. Known issues: https://docs.excalibur-dispatch.dev/docs/known-issues |
|
|
Excalibur.Outbox.SqlServer
SQL Server implementation of the transactional outbox pattern for Excalibur, providing reliable message delivery with at-least-once semantics using SQL Server as the backing store. PRE-RELEASE: the public API is not frozen and may change between pre-release builds. Not recommended for production use. Known issues: https://docs.excalibur-dispatch.dev/docs/known-issues |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.0-alpha.16 | 47 | 10/21/2026 |
| 10.0.0-alpha.15 | 191 | 10/11/2026 |
| 10.0.0-alpha.14 | 203 | 10/2/2026 |
| 10.0.0-alpha.13 | 194 | 9/29/2026 |
| 10.0.0-alpha.12 | 200 | 9/25/2026 |
| 10.0.0-alpha.11 | 218 | 9/15/2026 |
| 10.0.0-alpha.10 | 213 | 9/6/2026 |
| 10.0.0-alpha.9 | 214 | 8/31/2026 |
| 10.0.0-alpha.8 | 257 | 8/14/2026 |
| 10.0.0-alpha.7 | 236 | 8/13/2026 |
| 10.0.0-alpha.6 | 253 | 8/11/2026 |
| 10.0.0-alpha.5 | 245 | 8/10/2026 |
| 10.0.0-alpha.4 | 229 | 8/10/2026 |
| 3.0.0-alpha.216 | 195 | 6/30/2026 |
| 3.0.0-alpha.215 | 184 | 6/23/2026 |
| 3.0.0-alpha.214 | 184 | 6/23/2026 |
| 3.0.0-alpha.208 | 182 | 6/11/2026 |
| 3.0.0-alpha.207 | 187 | 6/11/2026 |
| 3.0.0-alpha.205 | 193 | 6/10/2026 |
| 3.0.0-alpha.204 | 201 | 6/8/2026 |
Release notes and versioning policy: https://docs.excalibur-dispatch.dev/docs/migration/version-upgrades