RFRabbitMQ 1.3.4

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

RFRabbitMQ

🇺🇸 English | 🇪🇸 Versión en Español Video tutorial

RFRabbitMQ is a lightweight .NET library designed to simplify the implementation of RPC (Remote Procedure Call) services over RabbitMQ.
It is used by FabianLucena.RFNRabbitMQRPCApp and FabianLucena.RFNRabbitMQRPCClient.


🚀 Features

  • Simple and extensible implementation of RabbitMQ RPC patterns.
  • Supports .NET 8, .NET 9, and .NET 10.
  • Integrates with IConfiguration via Microsoft.Extensions.
  • Provides helpers for connection, channel creation, message publishing, and consumption.
  • Ideal for microservices requiring synchronous request–response messaging.

📦 Installation

Using NuGet Package Manager

Install-Package RFRabbitMQ

Using .NET CLI

dotnet add package RFRabbitMQ

🧩 How it works

The library provides foundations for building:

  • RPC Server using RabbitMQ queues
  • RPC Client capable of sending requests and awaiting responses

Built-in functionalities include:

  • Automatic queue declaration
  • Connection and channel lifecycle management
  • Correlation ID management
  • Configurable timeout handling

🔧 Basic Configuration

Sample appsettings.json:

{
  "RabbitMQ": {
    "HostName": "localhost",
    "UserName": "guest",
    "Password": "guest",
    "QueueName": "rfrpc.queue"
  }
}

Loading configuration:

var config = builder.Configuration.GetSection("RabbitMQ").Get<RabbitMQConfig>();

🖥️ RPC Examples

For examples of RPC server and client, see the projects:


🏗️ Use in Microservices

RFRabbitMQ is suitable for:

  • Orchestration patterns
  • Critical synchronous operations
  • Systems requiring reliable request/response semantics
  • Hybrid async/sync messaging topologies

🔍 Versioning

Current version: 1.3.3


📚 Dependencies

This package depends on:

  • RabbitMQ.Client 7.2.0
  • Microsoft.Extensions.Configuration.Abstractions 8.0.0

📄 License

RFRabbitMQ is released under the MIT License.


🌐 Repository

Source code available at:

https://github.com/fabianlucena/rfn-rabbitmq

Product 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 is compatible.  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 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 (1)

Showing the top 1 NuGet packages that depend on RFRabbitMQ:

Package Downloads
RFRabbitMQRPCClient

Cliente .NET para consumir servicios RPC sobre RabbitMQ, parte del ecosistema RFRabbitMQ.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.4 157 8/6/2026
1.3.3 520 12/9/2025
1.3.2 216 12/4/2025
1.3.1 259 12/4/2025
1.3.0 213 12/4/2025