ZedLabs.MessageQueue
1.0.0-rc.1
dotnet add package ZedLabs.MessageQueue --version 1.0.0-rc.1
NuGet\Install-Package ZedLabs.MessageQueue -Version 1.0.0-rc.1
<PackageReference Include="ZedLabs.MessageQueue" Version="1.0.0-rc.1" />
<PackageVersion Include="ZedLabs.MessageQueue" Version="1.0.0-rc.1" />
<PackageReference Include="ZedLabs.MessageQueue" />
paket add ZedLabs.MessageQueue --version 1.0.0-rc.1
#r "nuget: ZedLabs.MessageQueue, 1.0.0-rc.1"
#:package ZedLabs.MessageQueue@1.0.0-rc.1
#addin nuget:?package=ZedLabs.MessageQueue&version=1.0.0-rc.1&prerelease
#tool nuget:?package=ZedLabs.MessageQueue&version=1.0.0-rc.1&prerelease
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.RabbitMQZedLabs.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 | Versions 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. |
-
net10.0
- MessagePack (>= 3.1.12)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.13)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 10.0.13)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Options (>= 10.0.13)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.13)
- Microsoft.Extensions.Options.DataAnnotations (>= 10.0.13)
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 |