Rwx.EventBus.RabbitMq.Worker
0.3.1
dotnet add package Rwx.EventBus.RabbitMq.Worker --version 0.3.1
NuGet\Install-Package Rwx.EventBus.RabbitMq.Worker -Version 0.3.1
<PackageReference Include="Rwx.EventBus.RabbitMq.Worker" Version="0.3.1" />
<PackageVersion Include="Rwx.EventBus.RabbitMq.Worker" Version="0.3.1" />
<PackageReference Include="Rwx.EventBus.RabbitMq.Worker" />
paket add Rwx.EventBus.RabbitMq.Worker --version 0.3.1
#r "nuget: Rwx.EventBus.RabbitMq.Worker, 0.3.1"
#:package Rwx.EventBus.RabbitMq.Worker@0.3.1
#addin nuget:?package=Rwx.EventBus.RabbitMq.Worker&version=0.3.1
#tool nuget:?package=Rwx.EventBus.RabbitMq.Worker&version=0.3.1
Rwx.EventBus.RabbitMq.Worker
Background RabbitMQ topology initialization and integration-event consumption for Rwx services.
Install
dotnet add package Rwx.EventBus.RabbitMq.Worker --version 0.1.0
Quick start
Install Rwx.EventBus.RabbitMq as well, then register transport services before the worker services:
using Rwx.EventBus.RabbitMq;
using Rwx.EventBus.RabbitMq.Worker;
builder.Services.AddRwxMessaging(builder.Configuration, typeof(OrderPlaced).Assembly);
builder.Services.AddRwxMessagingBackgroundWorkers();
Use this package only in a worker/background host. It starts hosted services that declare RabbitMQ topology and consume messages. Register integration handlers explicitly with Rwx.EventBus.DependencyInjection.AddIntegrationEventHandlers(...), or use a RwxMessagingModule subclass that supplies EventHandlerAssemblies.
For modular applications, depend on RwxMessagingWorkerModule alongside a concrete subclass of RwxMessagingModule that supplies the event-contract assemblies.
Boundaries
Register this package only in a process that owns message consumption. It depends on AddRwxMessaging() having already supplied transport services. A consumer host also needs the application handlers and all persistence adapters those handlers use; add the durable inbox when duplicate deliveries must not re-run a handler.
| 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. |
-
net10.0
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.9)
- Microsoft.Extensions.DependencyInjection (>= 10.0.9)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 10.0.8)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Logging (>= 10.0.9)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.9)
- RabbitMQ.Client (>= 7.2.1)
- Rwx.EventBus.Abstractions (>= 0.3.1)
- Rwx.EventBus.RabbitMq (>= 0.3.1)
- Scrutor (>= 7.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.