CommunityToolkit.Aspire.MassTransit.RabbitMQ 13.1.1

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.1.1
                    
NuGet\Install-Package CommunityToolkit.Aspire.MassTransit.RabbitMQ -Version 13.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="CommunityToolkit.Aspire.MassTransit.RabbitMQ" Version="13.1.1" />
                    
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.1.1" />
                    
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.1.1
                    
#r "nuget: CommunityToolkit.Aspire.MassTransit.RabbitMQ, 13.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.
#:package CommunityToolkit.Aspire.MassTransit.RabbitMQ@13.1.1
                    
#: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.1.1
                    
Install as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.MassTransit.RabbitMQ&version=13.1.1
                    
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.1.2-beta.516 0 2/9/2026
13.1.2-beta.515 41 2/2/2026
13.1.2-beta.514 45 1/30/2026
13.1.2-beta.513 42 1/29/2026
13.1.2-beta.512 43 1/29/2026
13.1.2-beta.511 42 1/28/2026
13.1.2-beta.509 44 1/20/2026
13.1.2-beta.508 46 1/19/2026
13.1.2-beta.507 42 1/19/2026
13.1.2-beta.506 48 1/16/2026
13.1.2-beta.505 49 1/16/2026
13.1.2-beta.504 39 1/16/2026
13.1.1 484 1/16/2026
13.1.1-beta.502 48 1/16/2026
13.1.0 134 1/14/2026
13.1.0-beta.499 41 1/14/2026
13.0.1-beta.498 45 1/14/2026
13.0.1-beta.486 50 1/12/2026
13.0.1-beta.468 707 12/3/2025
13.0.1-beta.467 625 12/3/2025
13.0.0 1,499 11/25/2025
13.0.0-beta.462 146 11/25/2025
13.0.0-beta.456 148 11/23/2025
13.0.0-beta.454 100 11/23/2025
13.0.0-beta.453 123 11/22/2025
13.0.0-beta.450 127 11/22/2025
13.0.0-beta.448 117 11/22/2025
13.0.0-beta.444 412 11/17/2025
13.0.0-beta.443 266 11/17/2025
13.0.0-beta.440 109 11/15/2025
13.0.0-beta.439 281 11/12/2025
13.0.0-beta.438 248 11/12/2025
13.0.0-beta.436 240 11/12/2025
13.0.0-beta.435 242 11/11/2025
13.0.0-beta.433 179 11/10/2025
13.0.0-beta.432 173 11/10/2025
13.0.0-beta.431 156 11/6/2025
13.0.0-beta.430 153 11/6/2025
9.9.0 517 11/3/2025
9.9.0-beta.427 156 11/3/2025
9.8.1-beta.426 161 11/3/2025
9.8.1-beta.424 157 10/28/2025
9.8.1-beta.420 145 10/27/2025
9.8.1-beta.419 141 10/27/2025
9.8.1-beta.417 157 10/27/2025
9.8.1-beta.414 143 10/24/2025
9.8.1-beta.413 142 10/22/2025
9.8.1-beta.410 151 10/16/2025
9.8.1-beta.408 140 10/16/2025
9.8.1-beta.407 133 10/16/2025
9.8.1-beta.406 141 10/15/2025
9.8.0 1,007 9/26/2025
9.8.0-beta.405 139 10/15/2025
9.8.0-beta.404 143 10/13/2025
9.8.0-beta.402 149 9/29/2025
9.8.0-beta.401 142 9/29/2025
9.8.0-beta.399 148 9/26/2025
9.8.0-beta.398 149 9/25/2025
9.8.0-beta.397 144 9/25/2025
9.8.0-beta.395 148 9/24/2025
9.8.0-beta.394 157 9/23/2025
9.8.0-beta.393 149 9/23/2025
9.8.0-beta.392 152 9/23/2025
9.8.0-beta.389 271 9/18/2025
9.8.0-beta.388 283 9/16/2025
9.8.0-beta.386 223 9/15/2025
9.8.0-beta.385 242 9/15/2025
9.8.0-beta.384 74 9/13/2025
9.8.0-beta.376 150 9/8/2025
9.8.0-beta.375 84 9/6/2025
9.8.0-beta.373 161 9/5/2025
9.8.0-beta.372 157 9/4/2025
9.8.0-beta.370 150 9/2/2025
9.8.0-beta.364 140 9/1/2025
9.7.2 1,960 8/29/2025
9.7.2-beta.362 194 8/29/2025
9.7.2-beta.361 200 8/29/2025
9.7.2-beta.360 196 8/29/2025
9.7.2-beta.359 196 8/28/2025
9.7.2-beta.358 196 8/28/2025
9.7.2-beta.357 197 8/28/2025
9.7.1 268 8/27/2025
9.7.1-beta.355 195 8/27/2025
9.7.1-beta.354 190 8/27/2025
9.7.1-beta.353 191 8/27/2025
9.7.1-beta.352 187 8/27/2025
9.7.1-beta.351 207 8/27/2025
9.7.1-beta.348 159 8/14/2025
9.7.1-beta.344 96 8/10/2025
9.7.1-beta.343 225 8/8/2025
9.7.1-beta.342 223 8/7/2025
9.7.1-beta.341 234 8/6/2025
9.7.1-beta.340 213 8/5/2025
9.7.1-beta.339 210 8/5/2025
9.7.0 976 8/1/2025
9.7.0-beta.337 106 8/1/2025
9.7.0-beta.336 120 8/1/2025
9.7.0-beta.335 117 8/1/2025
9.7.0-beta.333 121 7/30/2025
9.6.1-beta.332 122 7/30/2025
9.6.1-beta.331 122 7/30/2025
9.6.1-beta.330 118 7/30/2025
9.6.1-beta.329 122 7/30/2025
9.6.1-beta.328 124 7/29/2025
9.6.1-beta.327 143 7/28/2025
9.6.1-beta.326 142 7/28/2025
9.6.0 990 7/10/2025
9.6.0-beta.324 144 7/10/2025
9.5.1-beta.323 150 7/10/2025
9.5.1-beta.322 140 7/10/2025
9.5.1-beta.321 146 7/10/2025
9.5.1-beta.320 150 7/9/2025
9.5.1-beta.319 154 7/8/2025
9.5.1-beta.318 149 7/2/2025
9.5.1-beta.317 150 6/30/2025
9.5.1-beta.315 155 6/26/2025
9.5.1-beta.314 148 6/23/2025
9.5.1-beta.313 136 6/20/2025
9.5.1-beta.312 153 6/20/2025
9.5.1-beta.311 154 6/18/2025
9.5.1-beta.310 176 6/17/2025
9.5.1-beta.309 153 6/17/2025
9.5.1-beta.308 151 6/17/2025
9.5.1-beta.307 163 6/16/2025
9.5.1-beta.306 304 6/11/2025
9.5.1-beta.305 117 6/7/2025
9.5.1-beta.304 163 6/6/2025
9.5.1-beta.303 150 6/4/2025
9.5.1-beta.302 143 6/4/2025
9.5.1-beta.301 142 6/2/2025
9.5.1-beta.300 178 5/28/2025
9.5.0 1,814 5/27/2025
9.5.0-beta.299 171 5/27/2025
9.5.0-beta.298 173 5/26/2025
9.5.0-beta.297 111 5/24/2025
9.5.0-beta.296 103 5/24/2025
9.5.0-beta.295 70 5/24/2025
9.4.1-beta.291 184 5/19/2025
9.4.1-beta.289 168 5/16/2025
9.4.1-beta.288 212 5/16/2025
9.4.1-beta.287 238 5/16/2025
9.4.1-beta.286 216 5/16/2025
9.4.1-beta.285 228 5/14/2025
9.4.1-beta.284 234 5/13/2025
9.4.1-beta.283 252 5/12/2025
9.4.1-beta.282 160 5/7/2025
9.4.1-beta.280 154 5/2/2025
9.4.1-beta.279 149 5/2/2025
9.4.1-beta.277 177 4/23/2025
9.4.1-beta.276 164 4/23/2025
9.4.1-beta.275 182 4/23/2025
9.4.1-beta.274 160 4/23/2025
9.4.1-beta.273 168 4/23/2025
9.4.1-beta.272 171 4/23/2025
9.4.1-beta.271 159 4/23/2025
9.4.1-beta.270 173 4/20/2025
9.4.0 422 4/20/2025
9.4.0-beta.269 172 4/20/2025
9.4.0-beta.268 159 4/20/2025
9.3.1-beta.267 168 4/20/2025
9.3.1-beta.266 90 4/19/2025
9.3.1-beta.265 201 4/15/2025
9.3.1-beta.264 227 4/15/2025
9.3.1-beta.263 191 4/15/2025
9.3.1-beta.262 195 4/15/2025
9.3.1-beta.260 166 4/10/2025
9.3.1-beta.259 189 4/8/2025
9.3.1-beta.258 164 4/8/2025
9.3.1-beta.257 168 4/8/2025
9.3.1-beta.256 175 4/8/2025
9.3.1-beta.255 174 4/8/2025
9.3.1-beta.254 166 4/8/2025
9.3.1-beta.253 197 4/1/2025
9.3.1-beta.252 142 3/27/2025
9.3.1-beta.250 182 3/27/2025
9.3.1-beta.249 143 3/27/2025
9.3.1-beta.248 143 3/27/2025
9.3.1-beta.247 144 3/27/2025
9.3.1-beta.244 519 3/25/2025
9.3.1-beta.242 501 3/24/2025
9.3.1-beta.241 167 3/19/2025
9.3.0 660 3/19/2025
9.3.0-beta.239 158 3/19/2025
9.2.2-beta.237 159 3/19/2025
9.2.2-beta.236 133 3/14/2025
9.2.2-beta.230 178 3/13/2025
9.2.2-beta.229 174 3/13/2025
9.2.2-beta.228 174 3/11/2025
9.2.2-beta.227 181 3/11/2025
9.2.2-beta.226 190 3/11/2025
9.2.2-beta.225 204 3/11/2025
9.2.2-beta.224 169 3/11/2025
9.2.2-beta.223 173 3/10/2025
9.2.2-beta.222 175 3/10/2025
9.2.2-beta.220 179 3/9/2025
9.2.2-beta.218 174 3/9/2025
9.2.2-beta.217 225 3/7/2025
9.2.2-beta.216 245 3/7/2025
9.2.2-beta.215 198 3/7/2025
9.2.2-beta.214 213 3/5/2025
9.2.2-beta.213 211 3/5/2025
9.2.2-beta.212 205 3/5/2025
9.2.2-beta.211 238 3/4/2025
9.2.2-beta.210 216 3/4/2025
9.2.2-beta.208 111 3/3/2025
9.2.1 6,567 3/3/2025
9.2.1-beta.207 145 3/2/2025
9.2.1-beta.206 123 3/1/2025
9.2.1-beta.205 103 2/27/2025
9.2.1-beta.204 102 2/26/2025
9.2.1-beta.203 96 2/26/2025
9.2.0 281 2/26/2025
9.2.0-beta.202 99 2/26/2025
9.2.0-beta.201 101 2/26/2025
9.2.0-beta.199 104 2/26/2025
9.2.0-beta.198 103 2/26/2025
9.1.1-beta.197 106 2/25/2025
9.1.1-beta.196 106 2/25/2025
9.1.1-beta.195 96 2/25/2025
9.1.1-beta.194 112 2/25/2025
9.1.1-beta.193 104 2/25/2025
9.1.1-beta.192 105 2/24/2025
9.1.1-beta.191 128 2/24/2025
9.1.1-beta.190 114 2/19/2025
9.1.1-beta.189 110 2/19/2025
9.1.1-beta.188 105 2/19/2025
9.1.1-beta.187 114 2/19/2025
9.1.1-beta.183 112 2/18/2025
9.1.1-beta.182 122 2/18/2025
9.1.1-beta.181 116 2/18/2025
9.1.1-beta.180 128 2/17/2025
9.1.1-beta.178 112 2/17/2025
9.1.1-beta.177 99 2/12/2025
9.1.1-beta.176 117 2/11/2025
9.1.1-beta.175 114 2/11/2025
9.1.1-beta.173 115 2/10/2025
9.1.1-beta.169 107 2/6/2025
9.1.1-beta.168 111 2/5/2025
9.1.1-beta.166 102 2/5/2025
9.1.1-beta.165 99 2/5/2025
9.1.1-beta.164 100 2/3/2025
9.1.1-beta.162 99 2/3/2025
9.1.1-beta.155 107 1/30/2025
9.1.1-beta.154 106 1/30/2025
9.1.1-beta.153 92 1/30/2025
9.1.1-beta.152 93 1/29/2025
9.1.1-beta.150 140 1/29/2025
9.1.1-beta.148 105 1/26/2025
9.1.1-beta.147 101 1/26/2025
9.1.1-beta.146 99 1/23/2025
9.1.1-beta.145 101 1/22/2025
9.1.1-beta.144 99 1/22/2025
9.1.1-beta.142 120 1/22/2025
9.1.1-beta.140 129 1/22/2025
9.1.1-beta.139 117 1/21/2025
9.1.1-beta.138 102 1/20/2025
9.1.1-beta.137 110 1/17/2025
9.1.1-beta.136 88 1/15/2025
9.1.1-beta.135 82 1/15/2025
9.1.1-beta.134 84 1/15/2025
9.1.1-beta.128 87 1/9/2025
9.1.1-beta.127 111 1/9/2025
9.1.1-beta.126 99 1/9/2025
9.1.1-beta.125 112 1/9/2025
9.1.1-beta.124 102 1/9/2025
9.1.0 282 12/12/2024
9.1.0-beta.123 116 1/3/2025
9.1.0-beta.122 109 1/3/2025
9.1.0-beta.121 128 1/2/2025
9.1.0-beta.120 100 12/30/2024
9.1.0-beta.119 104 12/30/2024
9.1.0-beta.118 119 12/30/2024
9.1.0-beta.116 100 12/30/2024
9.1.0-beta.114 130 12/30/2024
9.1.0-beta.113 126 12/30/2024
9.1.0-beta.112 100 12/18/2024
9.1.0-beta.110 111 12/16/2024
9.1.0-beta.109 134 12/12/2024
9.0.1-beta.108 105 12/12/2024
9.0.1-beta.107 98 12/11/2024
9.0.1-beta.106 130 12/12/2024
9.0.1-beta.104 116 12/11/2024