Franz.Common.Messaging.RabbitMQ 1.7.4

dotnet add package Franz.Common.Messaging.RabbitMQ --version 1.7.4
                    
NuGet\Install-Package Franz.Common.Messaging.RabbitMQ -Version 1.7.4
                    
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="Franz.Common.Messaging.RabbitMQ" Version="1.7.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Franz.Common.Messaging.RabbitMQ" Version="1.7.4" />
                    
Directory.Packages.props
<PackageReference Include="Franz.Common.Messaging.RabbitMQ" />
                    
Project file
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 Franz.Common.Messaging.RabbitMQ --version 1.7.4
                    
#r "nuget: Franz.Common.Messaging.RabbitMQ, 1.7.4"
                    
#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 Franz.Common.Messaging.RabbitMQ@1.7.4
                    
#: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=Franz.Common.Messaging.RabbitMQ&version=1.7.4
                    
Install as a Cake Addin
#tool nuget:?package=Franz.Common.Messaging.RabbitMQ&version=1.7.4
                    
Install as a Cake Tool

Franz.Common.Messaging.RabbitMQ

Franz now speaks RabbitMQ.
The same architectural contract used for Kafka applies here β€” one pipeline, one model, zero spaghetti.

RabbitMQ is just a transport. Franz does the rest.


πŸš€ Getting Started

Install the package:

dotnet add package Franz.Common.Messaging.RabbitMQ

Register RabbitMQ messaging:

using Franz.Common.Messaging.RabbitMQ.Extensions;

public void ConfigureServices(IServiceCollection services, IConfiguration configuration)
{
    services.AddRabbitMQMessaging(configuration);
}

πŸ“¦ Features

  • Publisher & Sender via DI (IMessagingPublisher, IMessagingSender)
  • Consumers as hosted listeners
  • Inbox / Outbox support (MongoDB-backed)
  • Transactional publishing (IMessagingTransaction)
  • Replay strategies (default + extensible)
  • Message context accessor for scoped metadata
  • Enforced lifetimes to prevent invalid wiring
  • Duplicate-safe DI registration

Kafka and RabbitMQ share the exact same messaging semantics in Franz.


βš–οΈ Philosophy

β€œWe don’t care about MQ.
We make it behave.”

Franz removes broker-specific complexity.
Choose Kafka or RabbitMQ β€” your application code does not change.


Current Version: 1.7.4


πŸ†• v1.7.2 β€” Stability & Infrastructure Hardening

This release finalizes RabbitMQ as a first-class transport in Franz.

βœ” Highlights

  • Fully wired RabbitMQ infrastructure (publisher, consumers, hosted services)
  • Inbox & Outbox validated with real MongoDB containers
  • RabbitMQ now behaves identically to Kafka at the abstraction level

πŸ”§ Improvements

  • Correct RabbitMQ.Client 7.x async channel handling
  • Closed all DI wiring gaps in hosted services and tests
  • All message builder strategies registered by default
  • Deterministic startup / shutdown behavior

πŸ§ͺ Reliability

  • Tested against real RabbitMQ + MongoDB using Testcontainers
  • No mocks. No shortcuts. Real brokers, real persistence.

Result: RabbitMQ is production-ready and battle-tested.


v1.6.20

  • Migration to .NET 10
  • Improved messaging DI patterns
  • Updated RabbitMQ client
  • Alignment of messaging abstractions across transports
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Franz.Common.Messaging.RabbitMQ:

Package Downloads
Franz.Common.Http.Messaging

Shared utility library for the Franz Framework.

Franz.Common.Messaging.Hosting.RabbitMQ

Shared utility library for the Franz Framework.

Franz.Common.Messaging.Sagas

Shared utility library for the Franz Framework.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.7.4 101 12/27/2025
1.7.3 199 12/22/2025
1.7.2 203 12/21/2025
1.7.1 144 12/20/2025
1.7.0 300 12/16/2025
1.6.21 214 11/27/2025
1.6.20 209 11/24/2025
1.6.19 152 10/25/2025
1.6.15 174 10/20/2025
1.6.14 167 10/15/2025
1.6.3 174 10/9/2025
1.6.2 185 10/7/2025