Czlovek.RabbitMq
3.0.0-beta.1
dotnet add package Czlovek.RabbitMq --version 3.0.0-beta.1
NuGet\Install-Package Czlovek.RabbitMq -Version 3.0.0-beta.1
<PackageReference Include="Czlovek.RabbitMq" Version="3.0.0-beta.1" />
<PackageVersion Include="Czlovek.RabbitMq" Version="3.0.0-beta.1" />
<PackageReference Include="Czlovek.RabbitMq" />
paket add Czlovek.RabbitMq --version 3.0.0-beta.1
#r "nuget: Czlovek.RabbitMq, 3.0.0-beta.1"
#:package Czlovek.RabbitMq@3.0.0-beta.1
#addin nuget:?package=Czlovek.RabbitMq&version=3.0.0-beta.1&prerelease
#tool nuget:?package=Czlovek.RabbitMq&version=3.0.0-beta.1&prerelease
RabbitMq Client
A wrapper around RabbitMQ.Client that manages connections, channel pooling and topology (exchanges/queues/bindings) declared through configuration, and exposes a simple publish/subscribe API.
Usage
Registration
services.AddRabbitMq(configuration);
Configuration is read from the RabbitMq section, keyed by connection name, and declares the exchanges, queues and bindings to create on startup:
{
"RabbitMq": {
"Default": {
"HostName": "localhost",
"UserName": "guest",
"Password": "guest",
"Management": {
"Exchanges": [ { "ExchangeName": "orders", "Type": "topic" } ],
"Queues": [ { "QueueName": "orders.created" } ],
"Bindings": [ { "ExchangeName": "orders", "QueueName": "orders.created", "RoutingKey": "created" } ]
}
}
}
}
Sending and receiving messages
IRabbitMqDefaultClient is registered for the Default connection:
await rabbitMqDefaultClient.Send("orders", "created", message.Serialize());
await rabbitMqDefaultClient.Register("orders.created", async (body, properties, correlationId) =>
{
// process body, return true to ack
return true;
});
Channels and connections are pooled internally; Register starts a listener on the given queue, and Send publishes to the given exchange/routing key, tagging the message with a correlation ID (from the current HTTP request, if available, or a new one).
| 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
- Czlovek.HttpCommunication (>= 3.0.0-beta.1)
- Czlovek.Json (>= 3.0.0-beta.1)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.3.11)
- Microsoft.EntityFrameworkCore (>= 10.0.10)
- Microsoft.Extensions.Http (>= 10.0.10)
- RabbitMQ.Client (>= 7.2.1)
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-beta.1 | 62 | 7/19/2026 |
| 2.1.0-beta.85 | 66 | 6/16/2026 |
| 2.1.0-beta.84 | 59 | 5/7/2026 |
| 2.1.0-beta.83 | 62 | 5/7/2026 |
| 2.1.0-beta.82 | 107 | 3/20/2026 |
| 2.1.0-beta.81 | 83 | 2/21/2026 |
| 2.1.0-beta.80 | 83 | 2/21/2026 |
| 2.1.0-beta.79 | 85 | 2/13/2026 |
| 2.1.0-beta.78 | 84 | 2/11/2026 |
| 2.1.0-beta.77 | 81 | 2/11/2026 |
| 2.1.0-beta.76 | 80 | 2/10/2026 |
| 2.1.0-beta.75 | 88 | 2/10/2026 |
| 2.1.0-beta.74 | 76 | 1/28/2026 |
| 2.1.0-beta.73 | 210 | 11/6/2025 |
| 2.1.0-beta.72 | 199 | 11/6/2025 |
| 2.1.0-beta.71 | 197 | 11/4/2025 |
| 2.1.0-beta.70 | 187 | 11/4/2025 |
| 2.1.0-beta.69 | 188 | 11/4/2025 |
| 2.1.0-beta.68 | 199 | 11/4/2025 |
| 2.1.0-beta.67 | 208 | 11/2/2025 |