Muflone.Transport.RabbitMQ
8.5.0-beta.1
This is a prerelease version of Muflone.Transport.RabbitMQ.
dotnet add package Muflone.Transport.RabbitMQ --version 8.5.0-beta.1
NuGet\Install-Package Muflone.Transport.RabbitMQ -Version 8.5.0-beta.1
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.5.0-beta.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Muflone.Transport.RabbitMQ" Version="8.5.0-beta.1" />
<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.5.0-beta.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Muflone.Transport.RabbitMQ, 8.5.0-beta.1"
#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.5.0-beta.1
#: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.5.0-beta.1&prerelease
#tool nuget:?package=Muflone.Transport.RabbitMQ&version=8.5.0-beta.1&prerelease
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.1)
- Microsoft.Extensions.Hosting (>= 8.0.1)
- Microsoft.Extensions.Logging (>= 8.0.1)
- Muflone (>= 8.4.0)
- Polly (>= 8.5.2)
- RabbitMQ.Client (>= 7.1.2)
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 | 165 | 9/4/2025 | |
8.4.0 | 904 | 5/20/2025 | |
8.3.2-alpha | 206 | 5/16/2025 | |
8.3.1-alpha | 152 | 5/8/2025 | |
8.2.1 | 498 | 4/8/2025 | |
8.2.0 | 1,431 | 12/4/2024 | |
8.1.1 | 968 | 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 | 236 | 7/10/2023 | |
6.2.1 | 192 | 7/10/2023 | |
6.2.0 | 367 | 6/3/2023 | |
6.1.9 | 221 | 5/24/2023 | |
6.1.8 | 219 | 5/24/2023 | |
6.1.7 | 205 | 5/22/2023 | |
6.1.6 | 203 | 5/20/2023 | |
6.1.5 | 266 | 5/20/2023 | |
6.1.4 | 204 | 5/15/2023 | |
6.1.3 | 201 | 5/5/2023 | |
6.1.2 | 244 | 4/20/2023 | |
6.0.1 | 292 | 10/21/2022 |
Fixes pub/sub event dispatch to multiple subscribers