Euonia development framework and toolkit library for .NET application/service. Powered by Nerosoft.
License
—
Deps
18
Install Size
—
Vulns
✓ 0
Published
Feb 24, 2026
$ dotnet add package Euonia.Bus.RabbitMqThis 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.
To get started with the RabbitMQ transport in Euonia.Bus, follow these steps:
dotnet add package Euonia.Bus.RabbitMq
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"
}
}
}
[DependsOn(typeof(RabbitMqBusModule))]
public class YourServiceModule : ModuleContextBase
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
// Configure your services here
}
}
services.AddEuoniaBus(config =>
{
config.SetStrategy("RabbitMq", builder =>
{
builder.Add(new AttributeTransportStrategy(["RabbitMq"]));
builder.Add<DistributedMessageTransportStrategy>();
builder.EvaluateOutgoing(e => true);
builder.EvaluateIncoming(e => true);
});
});