MVFC.Outbox.Wolverine 1.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package MVFC.Outbox.Wolverine --version 1.1.0
                    
NuGet\Install-Package MVFC.Outbox.Wolverine -Version 1.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MVFC.Outbox.Wolverine" Version="1.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MVFC.Outbox.Wolverine" Version="1.1.0" />
                    
Directory.Packages.props
<PackageReference Include="MVFC.Outbox.Wolverine" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MVFC.Outbox.Wolverine --version 1.1.0
                    
#r "nuget: MVFC.Outbox.Wolverine, 1.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MVFC.Outbox.Wolverine@1.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MVFC.Outbox.Wolverine&version=1.1.0
                    
Install as a Cake Addin
#tool nuget:?package=MVFC.Outbox.Wolverine&version=1.1.0
                    
Install as a Cake Tool

MVFC.Outbox.Wolverine

🇧🇷 Leia em Português

CI codecov License Platform NuGet Version NuGet Downloads

Main guide · Playground

Confirmed Outbox publication through Wolverine's public inline transport senders (IOutboxTransport).

Supports .NET 10 and .NET 11.

dotnet add package MVFC.Outbox.Wolverine

Configuration and usage

Snippets use application services and variables: services, configuration, connection, ct, order and topicId. Register services before building the host and resolve publisher/database in one scope. For GCP Pub/Sub, prefer MVFC.Outbox.GcpPubSub, which registers WolverineOutboxTransport and GcpPubSubEndpointResolver together.

using Microsoft.Extensions.DependencyInjection;
using MVFC.Outbox.DependencyInjection;
using MVFC.Outbox.GcpPubSub;
using MVFC.Outbox.PostgreSql;
using MVFC.Outbox.Transport;

// UseGcpPubSub registers WolverineOutboxTransport and GcpPubSubEndpointResolver.
services.AddOutbox(configuration, outbox => outbox.ConsumerProducer()
    .MapAggregate<Order, Guid>(order => order.Id, "order")
    .UsePostgreSql<ApplicationDbContext>(connection)
    .UseGcpPubSub(pubsub => pubsub.ProjectId = "my-project"));

// The dispatcher resolves this adapter and calls it after claiming a message.
var transport = scope.ServiceProvider.GetRequiredService<IOutboxTransport>();
await transport.PublishAsync(storedMessage, "orders-created", ct);

Architecture and envelope contract

  • Why inline senders instead of Wolverine's durable store: using Wolverine's durable store would introduce a second persistence schema and split lifecycle tracking from MVFC.Outbox numeric statuses, topic GUIDs and retention fields. Instead, the configured Outbox database is the single durable queue, and WolverineOutboxTransport awaits the public inline ISender (or IWolverineOutboxSender when project overrides apply) so broker rejections transition the record to Error for Outbox retry.
  • Endpoint requirements: the runtime and resolver must agree on SendInline endpoints. Durable endpoints without inline sending are rejected.
  • Version-sensitive seam: in Wolverine 6.66, the internal inline sending agent uses a retry block that can absorb exhausted send failures; awaiting the public sender directly preserves failure propagation to Outbox. Review WolverineOutboxTransport and rerun broker failure tests before upgrading Wolverine.
  • Propagated headers & telemetry: custom AttributesJson entries are copied into envelope.Headers, followed by outbox-message-id, outbox-topic-id, aggregate-id, aggregate-type and schema-version, with CorrelationId = message.Id. Wolverine emits its own transport telemetry.

Requirements

  • A consumer application targeting .NET 10 or .NET 11.
  • A configured Wolverine host, an IOutboxEndpointResolver and confirmed inline senders for the destinations. Use the GCP Pub/Sub package for the ready-made Pub/Sub integration.
  • For development, the playground or integration tests: the .NET 11 SDK selected by global.json, .NET 10 targeting support to build the packages, and Docker running. See the playground guide.

Contributing

See CONTRIBUTING.md to prepare the environment, run the Cake build and follow the testing and coverage conventions. Dependency versions are centralized in Directory.Packages.props.

License

Distributed under the Apache License 2.0. See LICENSE for the complete terms, including permissions, redistribution conditions, and warranty and liability limitations.

Product 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.  net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on MVFC.Outbox.Wolverine:

Package Downloads
MVFC.Outbox.GcpPubSub

GCP Pub/Sub transport for MVFC.Outbox through Wolverine and native Google emulator detection.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
6.0.0 0 12/4/2026
5.0.0 50 12/3/2026
4.1.0 71 12/2/2026
4.0.0 90 12/1/2026
3.0.0 85 12/1/2026
2.0.1 100 11/30/2026
2.0.0 95 11/30/2026
1.1.1 108 11/30/2026
1.1.0 101 11/30/2026
1.0.1 107 11/30/2026
1.0.0 107 11/30/2026