CommunityToolkit.Aspire.MassTransit.RabbitMQ 13.0.0

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

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
13.0.1-beta.486 25 1/12/2026
13.0.1-beta.468 667 12/3/2025
13.0.1-beta.467 617 12/3/2025
13.0.0 971 11/25/2025
13.0.0-beta.462 142 11/25/2025
13.0.0-beta.456 138 11/23/2025
13.0.0-beta.454 91 11/23/2025
13.0.0-beta.453 116 11/22/2025
13.0.0-beta.450 116 11/22/2025
13.0.0-beta.448 111 11/22/2025
13.0.0-beta.444 401 11/17/2025
13.0.0-beta.443 261 11/17/2025
13.0.0-beta.440 101 11/15/2025
13.0.0-beta.439 279 11/12/2025
13.0.0-beta.438 237 11/12/2025
13.0.0-beta.436 236 11/12/2025
13.0.0-beta.435 238 11/11/2025
13.0.0-beta.433 170 11/10/2025
13.0.0-beta.432 161 11/10/2025
13.0.0-beta.431 151 11/6/2025
13.0.0-beta.430 147 11/6/2025
9.9.0 508 11/3/2025
9.9.0-beta.427 148 11/3/2025
9.8.1-beta.426 155 11/3/2025
9.8.1-beta.424 152 10/28/2025
9.8.1-beta.420 142 10/27/2025
9.8.1-beta.419 137 10/27/2025
9.8.1-beta.417 153 10/27/2025
9.8.1-beta.414 135 10/24/2025
9.8.1-beta.413 133 10/22/2025
9.8.1-beta.410 145 10/16/2025
9.8.1-beta.408 138 10/16/2025
9.8.1-beta.407 124 10/16/2025
9.8.1-beta.406 137 10/15/2025
9.8.0 995 9/26/2025
9.8.0-beta.405 136 10/15/2025
9.8.0-beta.404 136 10/13/2025
9.8.0-beta.402 143 9/29/2025
9.8.0-beta.401 138 9/29/2025
9.8.0-beta.399 143 9/26/2025
9.8.0-beta.398 144 9/25/2025
9.8.0-beta.397 142 9/25/2025
9.8.0-beta.395 139 9/24/2025
9.8.0-beta.394 151 9/23/2025
9.8.0-beta.393 143 9/23/2025
9.8.0-beta.392 148 9/23/2025
9.8.0-beta.389 267 9/18/2025
9.8.0-beta.388 278 9/16/2025
9.8.0-beta.386 217 9/15/2025
9.8.0-beta.385 234 9/15/2025
9.8.0-beta.384 68 9/13/2025
9.8.0-beta.376 141 9/8/2025
9.8.0-beta.375 79 9/6/2025
9.8.0-beta.373 155 9/5/2025
9.8.0-beta.372 152 9/4/2025
9.8.0-beta.370 145 9/2/2025
9.8.0-beta.364 135 9/1/2025
9.7.2 1,727 8/29/2025
9.7.2-beta.362 184 8/29/2025
9.7.2-beta.361 191 8/29/2025
9.7.2-beta.360 185 8/29/2025
9.7.2-beta.359 188 8/28/2025
9.7.2-beta.358 189 8/28/2025
9.7.2-beta.357 187 8/28/2025
9.7.1 264 8/27/2025
9.7.1-beta.355 187 8/27/2025
9.7.1-beta.354 186 8/27/2025
9.7.1-beta.353 184 8/27/2025
9.7.1-beta.352 184 8/27/2025
9.7.1-beta.351 197 8/27/2025
9.7.1-beta.348 152 8/14/2025
9.7.1-beta.344 92 8/10/2025
9.7.1-beta.343 221 8/8/2025
9.7.1-beta.342 216 8/7/2025
9.7.1-beta.341 228 8/6/2025
9.7.1-beta.340 204 8/5/2025
9.7.1-beta.339 205 8/5/2025
9.7.0 967 8/1/2025
9.7.0-beta.337 101 8/1/2025
9.7.0-beta.336 116 8/1/2025
9.7.0-beta.335 110 8/1/2025
9.7.0-beta.333 116 7/30/2025
9.6.1-beta.332 118 7/30/2025
9.6.1-beta.331 116 7/30/2025
9.6.1-beta.330 111 7/30/2025
9.6.1-beta.329 116 7/30/2025
9.6.1-beta.328 120 7/29/2025
9.6.1-beta.327 137 7/28/2025
9.6.1-beta.326 133 7/28/2025
9.6.0 981 7/10/2025
9.6.0-beta.324 136 7/10/2025
9.5.1-beta.323 142 7/10/2025
9.5.1-beta.322 136 7/10/2025
9.5.1-beta.321 137 7/10/2025
9.5.1-beta.320 144 7/9/2025
9.5.1-beta.319 150 7/8/2025
9.5.1-beta.318 140 7/2/2025
9.5.1-beta.317 141 6/30/2025
9.5.1-beta.315 149 6/26/2025
9.5.1-beta.314 139 6/23/2025
9.5.1-beta.313 132 6/20/2025
9.5.1-beta.312 146 6/20/2025
9.5.1-beta.311 151 6/18/2025
9.5.1-beta.310 172 6/17/2025
9.5.1-beta.309 141 6/17/2025
9.5.1-beta.308 140 6/17/2025
9.5.1-beta.307 156 6/16/2025
9.5.1-beta.306 299 6/11/2025
9.5.1-beta.305 113 6/7/2025
9.5.1-beta.304 155 6/6/2025
9.5.1-beta.303 143 6/4/2025
9.5.1-beta.302 141 6/4/2025
9.5.1-beta.301 139 6/2/2025
9.5.1-beta.300 169 5/28/2025
9.5.0 1,707 5/27/2025
9.5.0-beta.299 168 5/27/2025
9.5.0-beta.298 167 5/26/2025
9.5.0-beta.297 101 5/24/2025
9.5.0-beta.296 93 5/24/2025
9.5.0-beta.295 66 5/24/2025
9.4.1-beta.291 179 5/19/2025
9.4.1-beta.289 161 5/16/2025
9.4.1-beta.288 208 5/16/2025
9.4.1-beta.287 232 5/16/2025
9.4.1-beta.286 210 5/16/2025
9.4.1-beta.285 220 5/14/2025
9.4.1-beta.284 230 5/13/2025
9.4.1-beta.283 241 5/12/2025
9.4.1-beta.282 156 5/7/2025
9.4.1-beta.280 144 5/2/2025
9.4.1-beta.279 144 5/2/2025
9.4.1-beta.277 172 4/23/2025
9.4.1-beta.276 162 4/23/2025
9.4.1-beta.275 176 4/23/2025
9.4.1-beta.274 156 4/23/2025
9.4.1-beta.273 163 4/23/2025
9.4.1-beta.272 163 4/23/2025
9.4.1-beta.271 152 4/23/2025
9.4.1-beta.270 167 4/20/2025
9.4.0 415 4/20/2025
9.4.0-beta.269 165 4/20/2025
9.4.0-beta.268 155 4/20/2025
9.3.1-beta.267 162 4/20/2025
9.3.1-beta.266 85 4/19/2025
9.3.1-beta.265 196 4/15/2025
9.3.1-beta.264 223 4/15/2025
9.3.1-beta.263 186 4/15/2025
9.3.1-beta.262 189 4/15/2025
9.3.1-beta.260 159 4/10/2025
9.3.1-beta.259 181 4/8/2025
9.3.1-beta.258 155 4/8/2025
9.3.1-beta.257 160 4/8/2025
9.3.1-beta.256 167 4/8/2025
9.3.1-beta.255 169 4/8/2025
9.3.1-beta.254 160 4/8/2025
9.3.1-beta.253 189 4/1/2025
9.3.1-beta.252 140 3/27/2025
9.3.1-beta.250 176 3/27/2025
9.3.1-beta.249 138 3/27/2025
9.3.1-beta.248 136 3/27/2025
9.3.1-beta.247 139 3/27/2025
9.3.1-beta.244 515 3/25/2025
9.3.1-beta.242 493 3/24/2025
9.3.1-beta.241 160 3/19/2025
9.3.0 656 3/19/2025
9.3.0-beta.239 155 3/19/2025
9.2.2-beta.237 154 3/19/2025
9.2.2-beta.236 130 3/14/2025
9.2.2-beta.230 168 3/13/2025
9.2.2-beta.229 168 3/13/2025
9.2.2-beta.228 165 3/11/2025
9.2.2-beta.227 176 3/11/2025
9.2.2-beta.226 181 3/11/2025
9.2.2-beta.225 197 3/11/2025
9.2.2-beta.224 165 3/11/2025
9.2.2-beta.223 164 3/10/2025
9.2.2-beta.222 172 3/10/2025
9.2.2-beta.220 170 3/9/2025
9.2.2-beta.218 165 3/9/2025
9.2.2-beta.217 216 3/7/2025
9.2.2-beta.216 241 3/7/2025
9.2.2-beta.215 194 3/7/2025
9.2.2-beta.214 206 3/5/2025
9.2.2-beta.213 200 3/5/2025
9.2.2-beta.212 198 3/5/2025
9.2.2-beta.211 234 3/4/2025
9.2.2-beta.210 210 3/4/2025
9.2.2-beta.208 105 3/3/2025
9.2.1 6,196 3/3/2025
9.2.1-beta.207 141 3/2/2025
9.2.1-beta.206 118 3/1/2025
9.2.1-beta.205 100 2/27/2025
9.2.1-beta.204 97 2/26/2025
9.2.1-beta.203 92 2/26/2025
9.2.0 279 2/26/2025
9.2.0-beta.202 96 2/26/2025
9.2.0-beta.201 97 2/26/2025
9.2.0-beta.199 98 2/26/2025
9.2.0-beta.198 96 2/26/2025
9.1.1-beta.197 98 2/25/2025
9.1.1-beta.196 99 2/25/2025
9.1.1-beta.195 87 2/25/2025
9.1.1-beta.194 104 2/25/2025
9.1.1-beta.193 99 2/25/2025
9.1.1-beta.192 99 2/24/2025
9.1.1-beta.191 125 2/24/2025
9.1.1-beta.190 107 2/19/2025
9.1.1-beta.189 99 2/19/2025
9.1.1-beta.188 95 2/19/2025
9.1.1-beta.187 108 2/19/2025
9.1.1-beta.183 106 2/18/2025
9.1.1-beta.182 116 2/18/2025
9.1.1-beta.181 110 2/18/2025
9.1.1-beta.180 123 2/17/2025
9.1.1-beta.178 104 2/17/2025
9.1.1-beta.177 91 2/12/2025
9.1.1-beta.176 110 2/11/2025
9.1.1-beta.175 110 2/11/2025
9.1.1-beta.173 109 2/10/2025
9.1.1-beta.169 101 2/6/2025
9.1.1-beta.168 106 2/5/2025
9.1.1-beta.166 96 2/5/2025
9.1.1-beta.165 91 2/5/2025
9.1.1-beta.164 96 2/3/2025
9.1.1-beta.162 97 2/3/2025
9.1.1-beta.155 101 1/30/2025
9.1.1-beta.154 96 1/30/2025
9.1.1-beta.153 90 1/30/2025
9.1.1-beta.152 89 1/29/2025
9.1.1-beta.150 134 1/29/2025
9.1.1-beta.148 101 1/26/2025
9.1.1-beta.147 94 1/26/2025
9.1.1-beta.146 91 1/23/2025
9.1.1-beta.145 97 1/22/2025
9.1.1-beta.144 93 1/22/2025
9.1.1-beta.142 112 1/22/2025
9.1.1-beta.140 120 1/22/2025
9.1.1-beta.139 114 1/21/2025
9.1.1-beta.138 93 1/20/2025
9.1.1-beta.137 107 1/17/2025
9.1.1-beta.136 80 1/15/2025
9.1.1-beta.135 79 1/15/2025
9.1.1-beta.134 76 1/15/2025
9.1.1-beta.128 80 1/9/2025
9.1.1-beta.127 106 1/9/2025
9.1.1-beta.126 91 1/9/2025
9.1.1-beta.125 108 1/9/2025
9.1.1-beta.124 94 1/9/2025
9.1.0 276 12/12/2024
9.1.0-beta.123 109 1/3/2025
9.1.0-beta.122 105 1/3/2025
9.1.0-beta.121 122 1/2/2025
9.1.0-beta.120 97 12/30/2024
9.1.0-beta.119 97 12/30/2024
9.1.0-beta.118 114 12/30/2024
9.1.0-beta.116 94 12/30/2024
9.1.0-beta.114 125 12/30/2024
9.1.0-beta.113 120 12/30/2024
9.1.0-beta.112 93 12/18/2024
9.1.0-beta.110 105 12/16/2024
9.1.0-beta.109 129 12/12/2024
9.0.1-beta.108 97 12/12/2024
9.0.1-beta.107 90 12/11/2024
9.0.1-beta.106 122 12/12/2024
9.0.1-beta.104 110 12/11/2024