MVFC.Outbox.Wolverine 2.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package MVFC.Outbox.Wolverine --version 2.0.1
                    
NuGet\Install-Package MVFC.Outbox.Wolverine -Version 2.0.1
                    
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="2.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MVFC.Outbox.Wolverine" Version="2.0.1" />
                    
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 2.0.1
                    
#r "nuget: MVFC.Outbox.Wolverine, 2.0.1"
                    
#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@2.0.1
                    
#: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=2.0.1
                    
Install as a Cake Addin
#tool nuget:?package=MVFC.Outbox.Wolverine&version=2.0.1
                    
Install as a Cake Tool

MVFC.Outbox.Wolverine

🇧🇷 Leia em Português

CI codecov License Platform NuGet Version NuGet Downloads

Main guide · Playground

Publishes Outbox messages through Wolverine's public inline senders and waits for confirmation (IOutboxTransport).

Supports .NET 10 and .NET 11.

dotnet add package MVFC.Outbox.Wolverine

Configuration and usage

The examples use the application's services and variables: services, configuration, connection, ct, order and topicId. Register services before building the host. Resolve the publisher and database services in the same DI 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: Wolverine's durable store would add a second persistence schema. Delivery tracking would then be separate from the numeric statuses, topic GUIDs and retention fields in MVFC.Outbox.

    The configured Outbox database therefore remains the only persistent queue. WolverineOutboxTransport waits for the public inline ISender (or IWolverineOutboxSender for project overrides). If the broker rejects the message, the record becomes Error so the Outbox can retry it.

  • Endpoint requirements: configure both the runtime and the resolver to use SendInline endpoints. Durable endpoints that do not use inline sending are rejected.

  • Version-sensitive behavior: in Wolverine 6.66, the internal inline sending agent can stop propagating failures after exhausting its retries. Waiting directly for the public sender lets these failures reach the 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

  • An application targeting .NET 10 or .NET 11.

  • A configured Wolverine host, an IOutboxEndpointResolver and inline senders that confirm delivery to the destinations. Use the GCP Pub/Sub package for the ready-made Pub/Sub integration.

  • For development, the playground and integration tests, use the .NET 11 SDK specified in global.json.

    To build the packages, also install .NET 10 targeting support. Keep Docker running. See the playground guide.

Contributing

See CONTRIBUTING.md to set up the environment, run the Cake build and follow the test and coverage conventions. Dependency versions are defined in Directory.Packages.props.

License

Distributed under the Apache License 2.0. See LICENSE for all terms: permissions, redistribution conditions, and limits on warranty and liability.

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