jfYu.Core.RabbitMQ
8.1.3
dotnet add package jfYu.Core.RabbitMQ --version 8.1.3
NuGet\Install-Package jfYu.Core.RabbitMQ -Version 8.1.3
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="jfYu.Core.RabbitMQ" Version="8.1.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="jfYu.Core.RabbitMQ" Version="8.1.3" />
<PackageReference Include="jfYu.Core.RabbitMQ" />
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 jfYu.Core.RabbitMQ --version 8.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: jfYu.Core.RabbitMQ, 8.1.3"
#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 jfYu.Core.RabbitMQ@8.1.3
#: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=jfYu.Core.RabbitMQ&version=8.1.3
#tool nuget:?package=jfYu.Core.RabbitMQ&version=8.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
RabbitMQ
Install-Package jfYu.Core.RabbitMQ
config
"RabbitMQ": {
"HostName": "127.0.0.1",
"UserName": "xxx",
"Password": "123456",
"VirtualHost": "/",
"HeartBeat": "60",
"Port": "9808",
"DispatchConsumersAsync":true //if you want to use async consumer
}
injection
services.AddRabbitMQService(config);
send
mq.Send("test", "xxxxxx");
mq.Send("test", "test");
mq.Send("test", new TestModel() { Id = 122, Name = "name" });
mq.QueueBind("q12", "ex12", ExchangeType.Topic);
mq.Send("ex12", ExchangeType.Fanout, "Fanout", "123");
Receive
mq.Receive("topic", q =>
{
Assert.NotEmpty(q);
Thread.Sleep(1000);
});
mq.ReceiveAsync("topic", async q =>
{
Assert.NotEmpty(q);
await Task.Delay(5000);
});
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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.
-
net8.0
- Microsoft.Extensions.DependencyInjection (>= 8.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
- Newtonsoft.Json (>= 13.0.3)
- RabbitMQ.Client (>= 6.8.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 |
---|---|---|
8.1.3 | 239 | 4/17/2025 |
8.1.2 | 207 | 4/16/2025 |
8.1.1 | 212 | 4/15/2025 |
8.1.0 | 217 | 4/14/2025 |
8.0.9 | 205 | 4/14/2025 |
8.0.8 | 154 | 3/28/2025 |
8.0.7 | 491 | 3/26/2025 |
8.0.6 | 429 | 3/24/2025 |
8.0.4 | 181 | 3/14/2024 |
8.0.3 | 172 | 2/27/2024 |
8.0.2 | 164 | 2/22/2024 |
6.0.2 | 522 | 5/24/2022 |
6.0.1 | 525 | 4/26/2022 |
1.1.5 | 522 | 2/16/2022 |
1.1.4 | 562 | 10/22/2020 |
1.1.3 | 517 | 7/22/2020 |
1.1.2 | 548 | 6/10/2020 |
1.1.1 | 569 | 11/6/2019 |
1.1.0 | 540 | 11/5/2019 |
1.0.1 | 656 | 8/29/2019 |
1.0.0 | 590 | 8/29/2019 |