Three21.EventBus.RabbitMQ
3.0.123.10
dotnet add package Three21.EventBus.RabbitMQ --version 3.0.123.10
NuGet\Install-Package Three21.EventBus.RabbitMQ -Version 3.0.123.10
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="Three21.EventBus.RabbitMQ" Version="3.0.123.10" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Three21.EventBus.RabbitMQ" Version="3.0.123.10" />
<PackageReference Include="Three21.EventBus.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 Three21.EventBus.RabbitMQ --version 3.0.123.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Three21.EventBus.RabbitMQ, 3.0.123.10"
#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 Three21.EventBus.RabbitMQ@3.0.123.10
#: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=Three21.EventBus.RabbitMQ&version=3.0.123.10
#tool nuget:?package=Three21.EventBus.RabbitMQ&version=3.0.123.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Introduction
This is a slightly modified version of the Event Bus building block found in the eShopOnContainers Reference Application.
Getting Started
- Add a reference to the
Three21.EventBus.RabbitMQnuget package. - Create Events and Event Handlers.
- Register the
IEventBusservice and subscribe to the applicable events.
Creating Events
Create a record that inherits from IntegrationEvent.
public record MyEvent : IntegrationEvent
{
//TODO Add appropriate event properties...
}
Creating Event Handlers
Create a class that implements IIntegrationEventHandler<SomeIntegrationEvent>.
public class MyEventHandler : IIntegrationEventHandler<MyEvent>
{
public Task Handle(MyEvent @event)
{
//TODO Process MyEvent...
}
}
Registering the IEventBusService and Subscribing to Events
private void ConfigureRabbitMQ(IServiceCollection services)
{
var options = new RabbitMQEventBusOptions()
{
ExchangeName = "my-exchange",
ExchangeType = "topic",
QueueName = "my-queue",
HostName = "localhost",
UserName = "my-username",
Password = "my-password",
RetryCount = 5
};
services.AddTransient<MyEventHandler>();
services.AddRabbitMQ(options, eventBus =>
{
eventBus.Subscribe<MyEvent, MyEventHandler>();
});
}
| Product | Versions 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.
-
net10.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.3)
- Microsoft.Extensions.Logging (>= 10.0.3)
- Polly (>= 8.6.5)
- RabbitMQ.Client (>= 7.2.0)
- Three21.EventBus (>= 3.0.123.10)
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 |
|---|---|---|
| 3.0.123.10 | 94 | 2/16/2026 |
| 3.0.122.10 | 103 | 1/17/2026 |
| 3.0.121.10 | 175 | 12/21/2025 |
| 3.0.120.10 | 418 | 11/19/2025 |
| 3.0.119.10 | 155 | 10/18/2025 |
| 3.0.118.10 | 130 | 9/13/2025 |
| 3.0.117.10 | 187 | 9/7/2025 |
| 3.0.116.10 | 298 | 8/6/2025 |
| 3.0.115.10 | 227 | 7/26/2025 |
| 3.0.114.11 | 227 | 7/9/2025 |
| 3.0.113.10 | 226 | 7/9/2025 |
| 3.0.112.10 | 221 | 6/18/2025 |
| 3.0.111.10 | 303 | 5/14/2025 |
| 3.0.110.12 | 219 | 4/11/2025 |
| 3.0.107.10 | 193 | 3/22/2025 |
| 3.0.106.10 | 260 | 3/12/2025 |
| 3.0.105.10 | 201 | 3/1/2025 |
| 3.0.104.10 | 214 | 2/24/2025 |
| 3.0.103.10 | 207 | 2/15/2025 |
| 3.0.102.10 | 214 | 1/15/2025 |
Loading failed