FastCSharp.RabbitPublisher
1.0.0
See the version list below for details.
dotnet add package FastCSharp.RabbitPublisher --version 1.0.0
NuGet\Install-Package FastCSharp.RabbitPublisher -Version 1.0.0
<PackageReference Include="FastCSharp.RabbitPublisher" Version="1.0.0" />
paket add FastCSharp.RabbitPublisher --version 1.0.0
#r "nuget: FastCSharp.RabbitPublisher, 1.0.0"
// Install FastCSharp.RabbitPublisher as a Cake Addin #addin nuget:?package=FastCSharp.RabbitPublisher&version=1.0.0 // Install FastCSharp.RabbitPublisher as a Cake Tool #tool nuget:?package=FastCSharp.RabbitPublisher&version=1.0.0
FastCSharp's RabbitMQ Publisher
RabbitPublisher provides a simple approach for publishing messages to a RabbitMQ exchange.
It is a wrapper around the RabbitMQ.Client library.
Batch Publishing
It includes an implementation for batch publishing. Send an IEnumerable of messages and they will be published in a single batch. This is useful when you need to publish a large number of messages with very high throughput.
Usage
All you need to do is create a new publisher to an existing exchange and publish a message.
The example below shows how to publish a message to a direct exchange. Swagger is also configured to allow testing.
The code needed to run is manly in the Runner class.
Checkout FastCSharp.TestRabbitImpl project for a more complete example.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net7.0
- FastCSharp.Pool (>= 1.0.1)
- FastCSharp.Publisher (>= 1.0.0)
- FastCSharp.RabbitCommon (>= 1.0.3)
- Microsoft.Extensions.Configuration (>= 7.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 7.0.3)
- Microsoft.Extensions.Configuration.Json (>= 7.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 7.0.0)
- Microsoft.Extensions.Logging (>= 7.0.0)
- RabbitMQ.Client (>= 6.5.0)
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 |
---|---|---|
1.5.0 | 565 | 1/5/2024 |
1.4.0 | 157 | 12/17/2023 |
1.0.1 | 158 | 11/28/2023 |
1.0.0 | 159 | 10/20/2023 |
0.4.3-alpha | 103 | 9/25/2023 |
0.4.2-alpha | 117 | 9/23/2023 |
0.4.1-alpha | 100 | 9/23/2023 |
0.3.1-alpha | 114 | 9/22/2023 |
0.0.1-alpha | 114 | 9/18/2023 |
0.0.0-alpha | 130 | 4/9/2023 |