Euonia.Bus.RabbitMq 10.4.2

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

RabbitMQ Transport

This project provides a RabbitMQ transport implementation for the Euonia.Bus library.

It enables seamless integration with RabbitMQ message broker, allowing you to send and receive messages using RabbitMQ as the underlying transport mechanism.

Features

  • Easy Integration: Quickly set up RabbitMQ transport in your Euonia.Bus applications.
  • Reliable Messaging: Leverage RabbitMQ's robust messaging capabilities for reliable message delivery.
  • Asynchronous Communication: Support for asynchronous message processing to improve application responsiveness.
  • Configurable: Flexible configuration options to tailor the transport to your application's needs.
  • Cross-Platform: Compatible with multiple .NET versions, ensuring broad usability.
  • Open Source: Built on top of open-source libraries, promoting transparency and community contributions.

Getting Started

To get started with the RabbitMQ transport in Euonia.Bus, follow these steps:

  1. Install the Package: Add the Euonia.Bus.RabbitMq package to your project via NuGet.
    dotnet add package Euonia.Bus.RabbitMq
    
  2. Configure the Transport: In your application's configuration file (e.g., appsettings.json), add the RabbitMQ transport settings under the EuoniaBus section:
{
  "EuoniaBus": {
    "RabbitMq": {
      "Enabled": true,
      "Name": "RabbitMq",
      "Connection": "amqp://user:password@host:port",
      "ExchangeNamePrefix": "$nerosoft.euonia.exchange",
      "QueueNamePrefix": "$nerosoft.euonia.queue",
      "RoutingKey": "*",
      "Persistent": true,
      "AutoAck": true,
      "Mandatory": true,
      "MaxFailureRetries": 3,
      "SubscriptionId": "my-subscription"
    }
  }
}
  1. Add Module Dependency: Add the RabbitMQ transport module dependency in your service module:
[DependsOn(typeof(RabbitMqBusModule))]
public class YourServiceModule : ModuleContextBase
{
    public override void ConfigureServices(ServiceConfigurationContext context)
    {
        // Configure your services here
    }
}
  1. Add Incoming/Outgoing Strategy: Implement the necessary message handling strategies for incoming and outgoing messages.
services.AddEuoniaBus(config =>
{
    config.SetStrategy("RabbitMq", builder =>
    {
        builder.Add(new AttributeTransportStrategy(["RabbitMq"]));
        builder.Add<DistributedMessageTransportStrategy>();
        builder.EvaluateOutgoing(e => true);
        builder.EvaluateIncoming(e => true);
    });
});
  1. Run Your Application: Start your application, and it will now use RabbitMQ as the transport for Euonia.Bus.
Product Compatible and additional computed target framework versions.
.NET 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

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
10.4.2 0 2/24/2026
10.4.1 92 2/12/2026
10.4.0 92 2/4/2026
10.3.0 115 1/16/2026
10.2.10 110 1/14/2026
10.2.9 101 1/14/2026
10.2.8 105 1/14/2026
10.2.7 109 1/10/2026
10.2.6 109 1/8/2026
10.2.5 104 1/7/2026
10.2.4 116 1/7/2026
10.2.3 112 1/7/2026
10.2.2 110 1/6/2026
10.2.1 104 1/6/2026
10.2.0 109 1/4/2026
10.1.11 292 12/19/2025
10.1.10 296 12/18/2025
10.1.6 301 12/17/2025
10.1.5 295 12/17/2025
10.1.0 280 12/17/2025
Loading failed