Trellis.Messaging.AzureServiceBus 3.0.0-alpha.582

This is a prerelease version of Trellis.Messaging.AzureServiceBus.
dotnet add package Trellis.Messaging.AzureServiceBus --version 3.0.0-alpha.582
                    
NuGet\Install-Package Trellis.Messaging.AzureServiceBus -Version 3.0.0-alpha.582
                    
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.582" />
                    
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.582" />
                    
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.582
                    
#r "nuget: Trellis.Messaging.AzureServiceBus, 3.0.0-alpha.582"
                    
#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.582
                    
#: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.582&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Trellis.Messaging.AzureServiceBus&version=3.0.0-alpha.582&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 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. 
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.582 65 10/19/2026
3.0.0-alpha.574 119 10/14/2026
3.0.0-alpha.571 60 10/13/2026
3.0.0-alpha.557 86 10/8/2026
3.0.0-alpha.554 59 10/8/2026
3.0.0-alpha.553 57 10/7/2026
3.0.0-alpha.542 91 10/5/2026
3.0.0-alpha.539 66 10/4/2026
3.0.0-alpha.532 68 10/2/2026
3.0.0-alpha.527 57 10/1/2026
3.0.0-alpha.526 61 9/30/2026
3.0.0-alpha.524 62 9/27/2026
3.0.0-alpha.520 69 9/25/2026
3.0.0-alpha.516 152 9/22/2026
3.0.0-alpha.513 69 9/22/2026
3.0.0-alpha.505 73 9/13/2026
3.0.0-alpha.495 137 8/24/2026
3.0.0-alpha.458 118 8/19/2026
3.0.0-alpha.455 140 8/19/2026
3.0.0-alpha.449 89 8/18/2026
Loading failed