Trellis.Messaging.AzureServiceBus 3.0.0-alpha.721

This is a prerelease version of Trellis.Messaging.AzureServiceBus.
dotnet add package Trellis.Messaging.AzureServiceBus --version 3.0.0-alpha.721
                    
NuGet\Install-Package Trellis.Messaging.AzureServiceBus -Version 3.0.0-alpha.721
                    
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="Trellis.Messaging.AzureServiceBus" Version="3.0.0-alpha.721" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Trellis.Messaging.AzureServiceBus" Version="3.0.0-alpha.721" />
                    
Directory.Packages.props
<PackageReference Include="Trellis.Messaging.AzureServiceBus" />
                    
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 Trellis.Messaging.AzureServiceBus --version 3.0.0-alpha.721
                    
#r "nuget: Trellis.Messaging.AzureServiceBus, 3.0.0-alpha.721"
                    
#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 Trellis.Messaging.AzureServiceBus@3.0.0-alpha.721
                    
#: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=Trellis.Messaging.AzureServiceBus&version=3.0.0-alpha.721&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Trellis.Messaging.AzureServiceBus&version=3.0.0-alpha.721&prerelease
                    
Install as a Cake Tool

Trellis.Messaging.AzureServiceBus

NuGet Package

Azure Service Bus transport for Trellis integration events — the wire between a producer's transactional outbox and a consumer's deduplicating inbox.

Installation

dotnet add package Trellis.Messaging.AzureServiceBus

Quick Example

services.AddAzureServiceBusIntegrationEventPublisher(
    IntegrationEventNameMap.FromAssemblies(typeof(OrderPlaced).Assembly),
    options => options.MessageSource = "orders-service");

services.AddAzureServiceBusIntegrationEventConsumer(
    IntegrationEventNameMap.FromAssemblies(typeof(OrderPlaced).Assembly),
    options => options.Subscribe("orders.order-placed.v1", "billing"));

Register one shared ServiceBusClient as a factory-created singleton (services.AddSingleton(_ => new ServiceBusClient(...))) so DI owns and disposes it. Consumers also require an IInboxDispatcher, normally from AddTrellisInbox<TContext>().

Key Features

  • Carries the producer's outbox row ID verbatim as the Service Bus MessageId, preserving inbox deduplication across redelivery.
  • Carries persisted business correlation and causation plus W3C traceparent/tracestate unchanged across retries.
  • Uses one topic per stable integration-event wire name by default.
  • Replaces the in-process publisher to prevent duplicate local and broker delivery.
  • Completes processed or duplicate messages, retries handler failures, and dead-letters unusable payloads or malformed causation/source values with a reason code. Blank correlation and malformed W3C trace metadata remain processable.
  • Coordinates startup and shutdown so concurrent or repeated host stops dispose each processor once while allowing in-flight handlers to settle. Caches first-caller cancellation without masking processor faults, and preserves both stop and disposal failures.

Documentation

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.0-alpha.721 94 11/15/2026
3.0.0-alpha.582 79 10/19/2026
3.0.0-alpha.574 218 10/14/2026
3.0.0-alpha.571 69 10/13/2026
3.0.0-alpha.557 92 10/8/2026
3.0.0-alpha.554 69 10/8/2026
3.0.0-alpha.553 62 10/7/2026
3.0.0-alpha.542 95 10/5/2026
3.0.0-alpha.539 71 10/4/2026
3.0.0-alpha.532 73 10/2/2026
3.0.0-alpha.527 63 10/1/2026
3.0.0-alpha.526 68 9/30/2026
3.0.0-alpha.524 67 9/27/2026
3.0.0-alpha.520 70 9/25/2026
3.0.0-alpha.516 158 9/22/2026
3.0.0-alpha.513 75 9/22/2026
3.0.0-alpha.505 76 9/13/2026
3.0.0-alpha.495 146 8/24/2026
3.0.0-alpha.458 119 8/19/2026
3.0.0-alpha.455 147 8/19/2026
Loading failed