Muflone.Transport.RabbitMQ
8.2.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Muflone.Transport.RabbitMQ --version 8.2.0
NuGet\Install-Package Muflone.Transport.RabbitMQ -Version 8.2.0
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="Muflone.Transport.RabbitMQ" Version="8.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Muflone.Transport.RabbitMQ" Version="8.2.0" />
<PackageReference Include="Muflone.Transport.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 Muflone.Transport.RabbitMQ --version 8.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Muflone.Transport.RabbitMQ, 8.2.0"
#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 Muflone.Transport.RabbitMQ@8.2.0
#: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=Muflone.Transport.RabbitMQ&version=8.2.0
#tool nuget:?package=Muflone.Transport.RabbitMQ&version=8.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Muflone Transport RabbitMQ
Muflone extension to manage queues, and topics on RabbitMQ.
Install
Install-Package Muflone.Transport.RabbitMQ
Implementation
It's very simple to register RabbitMQ's transport
public IServiceCollection RegisterModule(WebApplicationBuilder builder)
{
var rabbitMQConfiguration = new RabbitMQConfiguration("localhost", "myuser", "mypassword", "ExchangeCommandsName", "ExchangeForEventsName");
var connectionFactory = new MufloneConnectionFactory(rabbitMQConfiguration, MyLoggerFactory);
builder.Services.AddScoped<ICommandHandlerAsync<CreateOrder>, CreateOrderCommandHandler>();
builder.Services.AddScoped<IDomainEventHandlerAsync<OrderCreated>, OrderCreatedEventHandler>();
builder.Services.AddMufloneTransportRabbitMQ(loggerFactory, rabbitMQConfiguration);
//We need to call a build if we need the service bus or other things registered in Muflone.RabbitMQ
serviceProvider = builder.Services.BuildServiceProvider();
builder.Services.AddMufloneRabbitMQConsumers(new List<IConsumer>
{
new BeersReceivedConsumer(serviceProvider.GetRequiredService<IServiceBus>(), connectionFactory, MyLoggerFactory),
new CreateOrderConsumer(connectionFactory, MyLoggerFactory),
new OrderCreatedConsumer(connectionFactory, MyLoggerFactory)
};
return builder.Services;
}
Fully working example
You can find a fully working example here: https://github.com/BrewUp/
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.Hosting (>= 8.0.0)
- Microsoft.Extensions.Logging (>= 8.0.0)
- Muflone (>= 8.1.3)
- Polly (>= 8.5.0)
- RabbitMQ.Client (>= 6.8.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Muflone.Transport.RabbitMQ:
Package | Downloads |
---|---|
Muflone.Transport.RabbitMQ.Saga
Muflone saga implementation for RabbitMQ |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated | |
---|---|---|---|
8.5.0-beta.1 | 134 | 9/4/2025 | |
8.4.0 | 809 | 5/20/2025 | |
8.3.2-alpha | 205 | 5/16/2025 | |
8.3.1-alpha | 151 | 5/8/2025 | |
8.2.1 | 496 | 4/8/2025 | |
8.2.0 | 1,430 | 12/4/2024 | |
8.1.1 | 965 | 9/9/2024 | |
8.0.3 | 231 | 8/2/2024 | |
8.0.2 | 131 | 8/1/2024 | |
8.0.1 | 121 | 8/1/2024 | |
8.0.0 | 127 | 8/1/2024 | |
6.2.3 | 461 | 10/24/2023 | |
6.2.2 | 232 | 7/10/2023 | |
6.2.1 | 188 | 7/10/2023 | |
6.2.0 | 362 | 6/3/2023 | |
6.1.9 | 216 | 5/24/2023 | |
6.1.8 | 214 | 5/24/2023 | |
6.1.7 | 200 | 5/22/2023 | |
6.1.6 | 198 | 5/20/2023 | |
6.1.5 | 256 | 5/20/2023 | |
6.1.4 | 199 | 5/15/2023 | |
6.1.3 | 196 | 5/5/2023 | |
6.1.2 | 239 | 4/20/2023 | |
6.0.1 | 286 | 10/21/2022 |
Fix UTF8 deserialization of messages