Escendit.Orleans.Clients.RabbitMQ.AmqpProtocol
0.1.0-rc.146
dotnet add package Escendit.Orleans.Clients.RabbitMQ.AmqpProtocol --version 0.1.0-rc.146
NuGet\Install-Package Escendit.Orleans.Clients.RabbitMQ.AmqpProtocol -Version 0.1.0-rc.146
<PackageReference Include="Escendit.Orleans.Clients.RabbitMQ.AmqpProtocol" Version="0.1.0-rc.146" />
paket add Escendit.Orleans.Clients.RabbitMQ.AmqpProtocol --version 0.1.0-rc.146
#r "nuget: Escendit.Orleans.Clients.RabbitMQ.AmqpProtocol, 0.1.0-rc.146"
// Install Escendit.Orleans.Clients.RabbitMQ.AmqpProtocol as a Cake Addin #addin nuget:?package=Escendit.Orleans.Clients.RabbitMQ.AmqpProtocol&version=0.1.0-rc.146&prerelease // Install Escendit.Orleans.Clients.RabbitMQ.AmqpProtocol as a Cake Tool #tool nuget:?package=Escendit.Orleans.Clients.RabbitMQ.AmqpProtocol&version=0.1.0-rc.146&prerelease
NuGet Package: Escendit.Orleans.Clients.RabbitMQ.AmqpProtocol
Escendit.Orleans.Clients.RabbitMQ.AmqpProtocol is a NuGet package that provides the ability to register
IConnectionFactory
or IConnection
. This package is suitable for both Worker (Console)
and Web Applications, allowing you to easily configure and manage RabbitMQ connections within
your Orleans-based projects.
Installation
To install Escendit.Orleans.Clients.RabbitMQ.AmqpProtocol, run the following command in the Package Manager Console:
Install-Package Escendit.Orleans.Clients.RabbitMQ.AmqpProtocol
Usage
There are several ways to register contracts that can be used in an application:
Host
Register and use IConnectionFactory
with the newly named ConnectionOptions
registration.
Host
.CreateDefaultBuilder()
.AddRabbitMqConnectionFactory("name", ...)
var connectionOptions = serviceProvider.GetRequiredServiceByName<IConnectionFactory>("name");
Register and use IConnectionFactory
with the existing ConnectionOptions
registration.
Host
.CreateDefaultBuilder()
.AddRabbitMqConnectionFactoryFromOption("name", "existing_name")
var connectionOptions = serviceProvider.GetRequiredServiceByName<IConnectionFactory>("name");
Register and use IConnection
with the newly named ConnectionOptions
and IConnectionFactory
registration.
Host
.CreateDefaultBuilder()
.AddRabbitMqConnection("name", ...)
var connectionOptions = serviceProvider.GetRequiredServiceByName<IConnection>("name");
Register and use IConnection
with the existing IConnectionFactory
registration.
Host
.CreateDefaultBuilder()
.AddRabbitMqConnectionFromFactory("name", "existing_name")
var connectionOptions = serviceProvider.GetRequiredServiceByName<IConnection>("name");
Web Application
Register and use IConnectionFactory
with the newly named ConnectionOptions
registration.
WebApplication
.CreateBuilder()
.AddRabbitMqConnectionFactory("name", ...)
var connectionOptions = serviceProvider.GetRequiredServiceByName<IConnectionFactory>("name");
Register and use IConnectionFactory
with the existing ConnectionOptions
registration.
WebApplication
.CreateBuilder()
.AddRabbitMqConnectionFactoryFromOption("name", "existing_name")
var connectionOptions = serviceProvider.GetRequiredServiceByName<IConnectionFactory>("name");
Register and use IConnection
with the newly named ConnectionOptions
and IConnectionFactory
registration.
WebApplication
.CreateBuilder()
.AddRabbitMqConnection("name", ...)
var connectionOptions = serviceProvider.GetRequiredServiceByName<IConnection>("name");
Register and use IConnection
with the existing IConnectionFactory
registration.
WebApplication
.CreateBuilder()
.AddRabbitMqConnectionFromFactory("name", "existing_name")
var connectionOptions = serviceProvider.GetRequiredServiceByName<IConnection>("name");
Contributing
If you'd like to contribute to Escendit.Orleans.Clients.RabbitMQ, please fork the repository and make changes as you'd like. Pull requests are warmly welcome.
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. 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. |
-
net7.0
- Escendit.Orleans.Clients.RabbitMQ.Abstractions (>= 0.1.0-rc.146)
- 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 |
---|---|---|
0.1.0-rc.146 | 117 | 9/18/2023 |
0.1.0-rc.144 | 86 | 9/18/2023 |
0.1.0-rc.142 | 76 | 9/18/2023 |
0.1.0-rc.140 | 82 | 9/18/2023 |
0.1.0-rc.139 | 87 | 9/11/2023 |
0.1.0-rc.137 | 87 | 9/11/2023 |
0.1.0-rc.135 | 92 | 8/29/2023 |
0.1.0-rc.133 | 92 | 8/27/2023 |
0.1.0-rc.132 | 93 | 8/27/2023 |