ZedLabs.MessageQueue 1.0.0-rc.1

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

ZedLabs.MessageQueue

Provider-agnostic event messaging for .NET 10. Applications code against IMessageQueue<T> (IMessagePublisher<T> + IMessageSubscriber<T>); the broker is chosen in configuration.

This package contains the abstractions, the shared consumer pipeline (size limit, deserialization, retry with backoff, dead-lettering), JSON and MessagePack serialization, OpenTelemetry-compatible spans and metrics (System.Diagnostics only, no exporter), a hosted consumer service with a DI scope per message, and the in-memory provider (single process, not durable). Brokers come as separate packages:

  • ZedLabs.MessageQueue.RabbitMQ
  • ZedLabs.MessageQueue.AzureServiceBus
services.AddRabbitMqProvider();                      // from ZedLabs.MessageQueue.RabbitMQ; InMemory is built in
services.AddMessageQueue<OrderCreated>(configuration); // section "MessageQueue", Provider = "RabbitMq" | "InMemory" | ...
services.AddMessageProcessor<OrderCreated, OrderCreatedProcessor>();
services.AddHostedService<MessageQueueHostedService<OrderCreated>>();
services.AddMessageQueueTelemetry("MyApp.Messaging");  // optional
{ "MessageQueue": { "Provider": "InMemory", "QueueName": "orders", "Retry": { "MaxRetries": 5 } } }

Dead letters can be inspected, replayed and purged through IDeadLetterQueue<T> (resolved next to IMessageQueue<T>; see Capabilities.DeadLetterOperations).

Writing a provider for another broker: implement IMessageQueueProvider and hand every delivery to MessageDispatcher<T> with an IDeliveryActions (namespace ZedLabs.MessageQueue.Providers). See ADR 0015 and the loopback sample provider.

Documentation, decision records and the changelog: https://github.com/ZedLabs-dev/MessageQueue

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 (2)

Showing the top 2 NuGet packages that depend on ZedLabs.MessageQueue:

Package Downloads
ZedLabs.MessageQueue.RabbitMQ

RabbitMQ provider for ZedLabs.MessageQueue (RabbitMQ.Client 7): publisher confirms, quorum queues, broker-side retry backoff, dead-letter queues, TLS enforcement and a health check that reuses the queue's connection.

ZedLabs.MessageQueue.AzureServiceBus

Azure Service Bus provider for ZedLabs.MessageQueue: queues and topic subscriptions, scheduled-retry backoff, byte-aware batching, Entra ID (DefaultAzureCredential) or connection strings, and a least-privilege peek health check.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0-rc.1 60 11/21/2026