AspireMassTransit.RabbitMQ.Client
1.1.1
dotnet add package AspireMassTransit.RabbitMQ.Client --version 1.1.1
NuGet\Install-Package AspireMassTransit.RabbitMQ.Client -Version 1.1.1
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="AspireMassTransit.RabbitMQ.Client" Version="1.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AspireMassTransit.RabbitMQ.Client --version 1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AspireMassTransit.RabbitMQ.Client, 1.1.1"
#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.
// Install AspireMassTransit.RabbitMQ.Client as a Cake Addin #addin nuget:?package=AspireMassTransit.RabbitMQ.Client&version=1.1.1 // Install AspireMassTransit.RabbitMQ.Client as a Cake Tool #tool nuget:?package=AspireMassTransit.RabbitMQ.Client&version=1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MassTransit RabbitMQ Aspire Client Extension
Overview
This package provides an Aspire client extension for seamlessly integrating MassTransit with RabbitMQ. It works with the Aspire.Hosting.RabbitMQ.AddRabbitMQ()
method for hosting.
The name string should match the name used in Aspire.Hosting.RabbitMQ.AddRabbitMQ(), as it references the connection string.
Features
- Configures MassTransit RabbitMQ integration for clients.
- Automatically discovers and registers consumers, sagas, and activities.
- Supports OpenTelemetry and Application Insights for monitoring.
- Uses the same configuration format as the hosting environment for easy integration.
Usage
Installation
To install, add the extension to your client application using builder.Services
in Startup.cs
or Program.cs
.
Example Usage
builder.AddMassTransitRabbitMq(
"rmq",
options => { options.DisableTelemetry = false; },
consumers =>
{
consumers.AddConsumer<SubmitOrderConsumer>();
consumers.AddConsumer<CancelOrderConsumer>();
consumers.AddConsumer<UpdateOrderConsumer>();
}
);
Product | Versions 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- MassTransit.RabbitMQ (>= 8.3.2)
- OpenTelemetry.Extensions.Hosting (>= 1.10.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.