CommunityToolkit.Aspire.MassTransit.RabbitMQ 9.0.1-beta.108

Prefix Reserved
This is a prerelease version of CommunityToolkit.Aspire.MassTransit.RabbitMQ.
There is a newer version of this package available.
See the version list below for details.
dotnet add package CommunityToolkit.Aspire.MassTransit.RabbitMQ --version 9.0.1-beta.108
                    
NuGet\Install-Package CommunityToolkit.Aspire.MassTransit.RabbitMQ -Version 9.0.1-beta.108
                    
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="CommunityToolkit.Aspire.MassTransit.RabbitMQ" Version="9.0.1-beta.108" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CommunityToolkit.Aspire.MassTransit.RabbitMQ" Version="9.0.1-beta.108" />
                    
Directory.Packages.props
<PackageReference Include="CommunityToolkit.Aspire.MassTransit.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 CommunityToolkit.Aspire.MassTransit.RabbitMQ --version 9.0.1-beta.108
                    
#r "nuget: CommunityToolkit.Aspire.MassTransit.RabbitMQ, 9.0.1-beta.108"
                    
#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.
#addin nuget:?package=CommunityToolkit.Aspire.MassTransit.RabbitMQ&version=9.0.1-beta.108&prerelease
                    
Install CommunityToolkit.Aspire.MassTransit.RabbitMQ as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.MassTransit.RabbitMQ&version=9.0.1-beta.108&prerelease
                    
Install CommunityToolkit.Aspire.MassTransit.RabbitMQ as a Cake Tool

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.
  • Multi-bus support to configure multiple RabbitMQ instances.

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>();
    }
);

Multi-bus example

public interface ISecondBus : IBus;
builder.AddMassTransitRabbitMq("rabbitmq1", massTransitConfiguration: x =>
{
    x.AddConsumer<TestConsumer>();
});
builder.AddMassTransitRabbitMq<ISecondBus>("rabbitmq2", massTransitConfiguration: x =>
{
    x.AddConsumer<TestConsumerTwo>();
});
Product 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.  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. 
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
9.4.1-beta.282 15 5/7/2025
9.4.1-beta.280 99 5/2/2025
9.4.1-beta.279 101 5/2/2025
9.4.1-beta.277 129 4/23/2025
9.4.1-beta.276 118 4/23/2025
9.4.1-beta.275 112 4/23/2025
9.4.1-beta.274 119 4/23/2025
9.4.1-beta.273 123 4/23/2025
9.4.1-beta.272 115 4/23/2025
9.4.1-beta.271 111 4/23/2025
9.4.1-beta.270 121 4/20/2025
9.4.0 225 4/20/2025
9.4.0-beta.269 120 4/20/2025
9.4.0-beta.268 117 4/20/2025
9.3.1-beta.267 121 4/20/2025
9.3.1-beta.266 43 4/19/2025
9.3.1-beta.265 150 4/15/2025
9.3.1-beta.264 153 4/15/2025
9.3.1-beta.263 146 4/15/2025
9.3.1-beta.262 148 4/15/2025
9.3.1-beta.260 118 4/10/2025
9.3.1-beta.259 120 4/8/2025
9.3.1-beta.258 115 4/8/2025
9.3.1-beta.257 116 4/8/2025
9.3.1-beta.256 125 4/8/2025
9.3.1-beta.255 117 4/8/2025
9.3.1-beta.254 117 4/8/2025
9.3.1-beta.253 127 4/1/2025
9.3.1-beta.252 100 3/27/2025
9.3.1-beta.250 97 3/27/2025
9.3.1-beta.249 95 3/27/2025
9.3.1-beta.248 101 3/27/2025
9.3.1-beta.247 99 3/27/2025
9.3.1-beta.244 449 3/25/2025
9.3.1-beta.242 447 3/24/2025
9.3.1-beta.241 120 3/19/2025
9.3.0 494 3/19/2025
9.3.0-beta.239 113 3/19/2025
9.2.2-beta.237 115 3/19/2025
9.2.2-beta.236 87 3/14/2025
9.2.2-beta.230 129 3/13/2025
9.2.2-beta.229 113 3/13/2025
9.2.2-beta.228 128 3/11/2025
9.2.2-beta.227 126 3/11/2025
9.2.2-beta.226 124 3/11/2025
9.2.2-beta.225 119 3/11/2025
9.2.2-beta.224 124 3/11/2025
9.2.2-beta.223 125 3/10/2025
9.2.2-beta.222 126 3/10/2025
9.2.2-beta.220 131 3/9/2025
9.2.2-beta.218 124 3/9/2025
9.2.2-beta.217 166 3/7/2025
9.2.2-beta.216 167 3/7/2025
9.2.2-beta.215 155 3/7/2025
9.2.2-beta.214 168 3/5/2025
9.2.2-beta.213 161 3/5/2025
9.2.2-beta.212 158 3/5/2025
9.2.2-beta.211 164 3/4/2025
9.2.2-beta.210 170 3/4/2025
9.2.2-beta.208 58 3/3/2025
9.2.1 719 3/3/2025
9.2.1-beta.207 77 3/2/2025
9.2.1-beta.206 55 3/1/2025
9.2.1-beta.205 60 2/27/2025
9.2.1-beta.204 56 2/26/2025
9.2.1-beta.203 53 2/26/2025
9.2.0 213 2/26/2025
9.2.0-beta.202 60 2/26/2025
9.2.0-beta.201 56 2/26/2025
9.2.0-beta.199 58 2/26/2025
9.2.0-beta.198 53 2/26/2025
9.1.1-beta.197 56 2/25/2025
9.1.1-beta.196 58 2/25/2025
9.1.1-beta.195 53 2/25/2025
9.1.1-beta.194 62 2/25/2025
9.1.1-beta.193 61 2/25/2025
9.1.1-beta.192 58 2/24/2025
9.1.1-beta.191 60 2/24/2025
9.1.1-beta.190 56 2/19/2025
9.1.1-beta.189 55 2/19/2025
9.1.1-beta.188 63 2/19/2025
9.1.1-beta.187 65 2/19/2025
9.1.1-beta.183 70 2/18/2025
9.1.1-beta.182 71 2/18/2025
9.1.1-beta.181 75 2/18/2025
9.1.1-beta.180 64 2/17/2025
9.1.1-beta.178 67 2/17/2025
9.1.1-beta.177 60 2/12/2025
9.1.1-beta.176 73 2/11/2025
9.1.1-beta.175 63 2/11/2025
9.1.1-beta.173 68 2/10/2025
9.1.1-beta.169 59 2/6/2025
9.1.1-beta.168 57 2/5/2025
9.1.1-beta.166 54 2/5/2025
9.1.1-beta.165 54 2/5/2025
9.1.1-beta.164 61 2/3/2025
9.1.1-beta.162 59 2/3/2025
9.1.1-beta.155 59 1/30/2025
9.1.1-beta.154 58 1/30/2025
9.1.1-beta.153 55 1/30/2025
9.1.1-beta.152 50 1/29/2025
9.1.1-beta.150 63 1/29/2025
9.1.1-beta.148 57 1/26/2025
9.1.1-beta.147 53 1/26/2025
9.1.1-beta.146 54 1/23/2025
9.1.1-beta.145 56 1/22/2025
9.1.1-beta.144 48 1/22/2025
9.1.1-beta.142 51 1/22/2025
9.1.1-beta.140 55 1/22/2025
9.1.1-beta.139 54 1/21/2025
9.1.1-beta.138 54 1/20/2025
9.1.1-beta.137 46 1/17/2025
9.1.1-beta.136 42 1/15/2025
9.1.1-beta.135 26 1/15/2025
9.1.1-beta.134 24 1/15/2025
9.1.1-beta.128 39 1/9/2025
9.1.1-beta.127 43 1/9/2025
9.1.1-beta.126 47 1/9/2025
9.1.1-beta.125 47 1/9/2025
9.1.1-beta.124 55 1/9/2025
9.1.0 195 12/12/2024
9.1.0-beta.123 63 1/3/2025
9.1.0-beta.122 60 1/3/2025
9.1.0-beta.121 60 1/2/2025
9.1.0-beta.120 56 12/30/2024
9.1.0-beta.119 50 12/30/2024
9.1.0-beta.118 57 12/30/2024
9.1.0-beta.116 54 12/30/2024
9.1.0-beta.114 56 12/30/2024
9.1.0-beta.113 56 12/30/2024
9.1.0-beta.112 55 12/18/2024
9.1.0-beta.110 61 12/16/2024
9.1.0-beta.109 63 12/12/2024
9.0.1-beta.108 62 12/12/2024
9.0.1-beta.107 58 12/11/2024
9.0.1-beta.106 59 12/12/2024
9.0.1-beta.104 62 12/11/2024