CommunityToolkit.Aspire.MassTransit.RabbitMQ 9.5.1-beta.310

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.5.1-beta.310
                    
NuGet\Install-Package CommunityToolkit.Aspire.MassTransit.RabbitMQ -Version 9.5.1-beta.310
                    
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.5.1-beta.310" />
                    
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.5.1-beta.310" />
                    
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.5.1-beta.310
                    
#r "nuget: CommunityToolkit.Aspire.MassTransit.RabbitMQ, 9.5.1-beta.310"
                    
#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@9.5.1-beta.310
                    
#: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=9.5.1-beta.310&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.MassTransit.RabbitMQ&version=9.5.1-beta.310&prerelease
                    
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 was computed.  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.0 237 11/25/2025
13.0.0-beta.462 104 11/25/2025
13.0.0-beta.456 115 11/23/2025
13.0.0-beta.454 71 11/23/2025
13.0.0-beta.453 92 11/22/2025
13.0.0-beta.450 99 11/22/2025
13.0.0-beta.448 98 11/22/2025
13.0.0-beta.444 385 11/17/2025
13.0.0-beta.443 245 11/17/2025
13.0.0-beta.440 82 11/15/2025
13.0.0-beta.439 260 11/12/2025
13.0.0-beta.438 218 11/12/2025
13.0.0-beta.436 221 11/12/2025
13.0.0-beta.435 225 11/11/2025
13.0.0-beta.433 151 11/10/2025
13.0.0-beta.432 147 11/10/2025
13.0.0-beta.431 134 11/6/2025
13.0.0-beta.430 135 11/6/2025
9.9.0 477 11/3/2025
9.9.0-beta.427 137 11/3/2025
9.8.1-beta.426 142 11/3/2025
9.8.1-beta.424 133 10/28/2025
9.8.1-beta.420 133 10/27/2025
9.8.1-beta.419 126 10/27/2025
9.8.1-beta.417 136 10/27/2025
9.8.1-beta.414 120 10/24/2025
9.8.1-beta.413 123 10/22/2025
9.8.1-beta.410 133 10/16/2025
9.8.1-beta.408 121 10/16/2025
9.8.1-beta.407 113 10/16/2025
9.8.1-beta.406 128 10/15/2025
9.8.0 970 9/26/2025
9.8.0-beta.405 126 10/15/2025
9.8.0-beta.404 125 10/13/2025
9.8.0-beta.402 134 9/29/2025
9.8.0-beta.401 124 9/29/2025
9.8.0-beta.399 125 9/26/2025
9.8.0-beta.398 132 9/25/2025
9.8.0-beta.397 131 9/25/2025
9.8.0-beta.395 124 9/24/2025
9.8.0-beta.394 135 9/23/2025
9.8.0-beta.393 135 9/23/2025
9.8.0-beta.392 133 9/23/2025
9.8.0-beta.389 257 9/18/2025
9.8.0-beta.388 264 9/16/2025
9.8.0-beta.386 206 9/15/2025
9.8.0-beta.385 209 9/15/2025
9.8.0-beta.384 54 9/13/2025
9.8.0-beta.376 128 9/8/2025
9.8.0-beta.375 68 9/6/2025
9.8.0-beta.373 146 9/5/2025
9.8.0-beta.372 135 9/4/2025
9.8.0-beta.370 135 9/2/2025
9.8.0-beta.364 127 9/1/2025
9.7.2 1,511 8/29/2025
9.7.2-beta.362 170 8/29/2025
9.7.2-beta.361 175 8/29/2025
9.7.2-beta.360 174 8/29/2025
9.7.2-beta.359 179 8/28/2025
9.7.2-beta.358 177 8/28/2025
9.7.2-beta.357 174 8/28/2025
9.7.1 253 8/27/2025
9.7.1-beta.355 178 8/27/2025
9.7.1-beta.354 176 8/27/2025
9.7.1-beta.353 174 8/27/2025
9.7.1-beta.352 173 8/27/2025
9.7.1-beta.351 181 8/27/2025
9.7.1-beta.348 137 8/14/2025
9.7.1-beta.344 82 8/10/2025
9.7.1-beta.343 209 8/8/2025
9.7.1-beta.342 206 8/7/2025
9.7.1-beta.341 214 8/6/2025
9.7.1-beta.340 190 8/5/2025
9.7.1-beta.339 194 8/5/2025
9.7.0 945 8/1/2025
9.7.0-beta.337 91 8/1/2025
9.7.0-beta.336 104 8/1/2025
9.7.0-beta.335 101 8/1/2025
9.7.0-beta.333 106 7/30/2025
9.6.1-beta.332 107 7/30/2025
9.6.1-beta.331 106 7/30/2025
9.6.1-beta.330 105 7/30/2025
9.6.1-beta.329 105 7/30/2025
9.6.1-beta.328 114 7/29/2025
9.6.1-beta.327 124 7/28/2025
9.6.1-beta.326 122 7/28/2025
9.6.0 740 7/10/2025
9.6.0-beta.324 126 7/10/2025
9.5.1-beta.323 130 7/10/2025
9.5.1-beta.322 128 7/10/2025
9.5.1-beta.321 131 7/10/2025
9.5.1-beta.320 130 7/9/2025
9.5.1-beta.319 136 7/8/2025
9.5.1-beta.318 126 7/2/2025
9.5.1-beta.317 125 6/30/2025
9.5.1-beta.315 138 6/26/2025
9.5.1-beta.314 131 6/23/2025
9.5.1-beta.313 120 6/20/2025
9.5.1-beta.312 139 6/20/2025
9.5.1-beta.311 130 6/18/2025
9.5.1-beta.310 156 6/17/2025
9.5.1-beta.309 131 6/17/2025
9.5.1-beta.308 127 6/17/2025
9.5.1-beta.307 147 6/16/2025
9.5.1-beta.306 285 6/11/2025
9.5.1-beta.305 104 6/7/2025
9.5.1-beta.304 143 6/6/2025
9.5.1-beta.303 131 6/4/2025
9.5.1-beta.302 130 6/4/2025
9.5.1-beta.301 133 6/2/2025
9.5.1-beta.300 159 5/28/2025
9.5.0 1,605 5/27/2025
9.5.0-beta.299 159 5/27/2025
9.5.0-beta.298 156 5/26/2025
9.5.0-beta.297 90 5/24/2025
9.5.0-beta.296 83 5/24/2025
9.5.0-beta.295 57 5/24/2025
9.4.1-beta.291 171 5/19/2025
9.4.1-beta.289 150 5/16/2025
9.4.1-beta.288 198 5/16/2025
9.4.1-beta.287 222 5/16/2025
9.4.1-beta.286 198 5/16/2025
9.4.1-beta.285 214 5/14/2025
9.4.1-beta.284 219 5/13/2025
9.4.1-beta.283 231 5/12/2025
9.4.1-beta.282 141 5/7/2025
9.4.1-beta.280 131 5/2/2025
9.4.1-beta.279 134 5/2/2025
9.4.1-beta.277 159 4/23/2025
9.4.1-beta.276 157 4/23/2025
9.4.1-beta.275 172 4/23/2025
9.4.1-beta.274 148 4/23/2025
9.4.1-beta.273 154 4/23/2025
9.4.1-beta.272 153 4/23/2025
9.4.1-beta.271 146 4/23/2025
9.4.1-beta.270 157 4/20/2025
9.4.0 406 4/20/2025
9.4.0-beta.269 152 4/20/2025
9.4.0-beta.268 148 4/20/2025
9.3.1-beta.267 148 4/20/2025
9.3.1-beta.266 77 4/19/2025
9.3.1-beta.265 186 4/15/2025
9.3.1-beta.264 210 4/15/2025
9.3.1-beta.263 178 4/15/2025
9.3.1-beta.262 180 4/15/2025
9.3.1-beta.260 144 4/10/2025
9.3.1-beta.259 171 4/8/2025
9.3.1-beta.258 142 4/8/2025
9.3.1-beta.257 146 4/8/2025
9.3.1-beta.256 154 4/8/2025
9.3.1-beta.255 155 4/8/2025
9.3.1-beta.254 148 4/8/2025
9.3.1-beta.253 180 4/1/2025
9.3.1-beta.252 129 3/27/2025
9.3.1-beta.250 162 3/27/2025
9.3.1-beta.249 128 3/27/2025
9.3.1-beta.248 128 3/27/2025
9.3.1-beta.247 128 3/27/2025
9.3.1-beta.244 503 3/25/2025
9.3.1-beta.242 482 3/24/2025
9.3.1-beta.241 151 3/19/2025
9.3.0 642 3/19/2025
9.3.0-beta.239 147 3/19/2025
9.2.2-beta.237 143 3/19/2025
9.2.2-beta.236 117 3/14/2025
9.2.2-beta.230 158 3/13/2025
9.2.2-beta.229 161 3/13/2025
9.2.2-beta.228 157 3/11/2025
9.2.2-beta.227 161 3/11/2025
9.2.2-beta.226 171 3/11/2025
9.2.2-beta.225 189 3/11/2025
9.2.2-beta.224 154 3/11/2025
9.2.2-beta.223 155 3/10/2025
9.2.2-beta.222 158 3/10/2025
9.2.2-beta.220 163 3/9/2025
9.2.2-beta.218 154 3/9/2025
9.2.2-beta.217 202 3/7/2025
9.2.2-beta.216 229 3/7/2025
9.2.2-beta.215 182 3/7/2025
9.2.2-beta.214 199 3/5/2025
9.2.2-beta.213 191 3/5/2025
9.2.2-beta.212 187 3/5/2025
9.2.2-beta.211 224 3/4/2025
9.2.2-beta.210 200 3/4/2025
9.2.2-beta.208 90 3/3/2025
9.2.1 5,125 3/3/2025
9.2.1-beta.207 131 3/2/2025
9.2.1-beta.206 108 3/1/2025
9.2.1-beta.205 89 2/27/2025
9.2.1-beta.204 85 2/26/2025
9.2.1-beta.203 80 2/26/2025
9.2.0 271 2/26/2025
9.2.0-beta.202 88 2/26/2025
9.2.0-beta.201 84 2/26/2025
9.2.0-beta.199 85 2/26/2025
9.2.0-beta.198 84 2/26/2025
9.1.1-beta.197 84 2/25/2025
9.1.1-beta.196 88 2/25/2025
9.1.1-beta.195 80 2/25/2025
9.1.1-beta.194 93 2/25/2025
9.1.1-beta.193 90 2/25/2025
9.1.1-beta.192 88 2/24/2025
9.1.1-beta.191 111 2/24/2025
9.1.1-beta.190 100 2/19/2025
9.1.1-beta.189 86 2/19/2025
9.1.1-beta.188 88 2/19/2025
9.1.1-beta.187 97 2/19/2025
9.1.1-beta.183 98 2/18/2025
9.1.1-beta.182 101 2/18/2025
9.1.1-beta.181 102 2/18/2025
9.1.1-beta.180 111 2/17/2025
9.1.1-beta.178 93 2/17/2025
9.1.1-beta.177 85 2/12/2025
9.1.1-beta.176 100 2/11/2025
9.1.1-beta.175 95 2/11/2025
9.1.1-beta.173 98 2/10/2025
9.1.1-beta.169 86 2/6/2025
9.1.1-beta.168 87 2/5/2025
9.1.1-beta.166 81 2/5/2025
9.1.1-beta.165 83 2/5/2025
9.1.1-beta.164 91 2/3/2025
9.1.1-beta.162 88 2/3/2025
9.1.1-beta.155 88 1/30/2025
9.1.1-beta.154 86 1/30/2025
9.1.1-beta.153 83 1/30/2025
9.1.1-beta.152 78 1/29/2025
9.1.1-beta.150 121 1/29/2025
9.1.1-beta.148 90 1/26/2025
9.1.1-beta.147 84 1/26/2025
9.1.1-beta.146 85 1/23/2025
9.1.1-beta.145 86 1/22/2025
9.1.1-beta.144 75 1/22/2025
9.1.1-beta.142 100 1/22/2025
9.1.1-beta.140 109 1/22/2025
9.1.1-beta.139 104 1/21/2025
9.1.1-beta.138 81 1/20/2025
9.1.1-beta.137 98 1/17/2025
9.1.1-beta.136 67 1/15/2025
9.1.1-beta.135 70 1/15/2025
9.1.1-beta.134 66 1/15/2025
9.1.1-beta.128 70 1/9/2025
9.1.1-beta.127 101 1/9/2025
9.1.1-beta.126 74 1/9/2025
9.1.1-beta.125 97 1/9/2025
9.1.1-beta.124 87 1/9/2025
9.1.0 259 12/12/2024
9.1.0-beta.123 93 1/3/2025
9.1.0-beta.122 92 1/3/2025
9.1.0-beta.121 108 1/2/2025
9.1.0-beta.120 87 12/30/2024
9.1.0-beta.119 82 12/30/2024
9.1.0-beta.118 104 12/30/2024
9.1.0-beta.116 85 12/30/2024
9.1.0-beta.114 114 12/30/2024
9.1.0-beta.113 107 12/30/2024
9.1.0-beta.112 81 12/18/2024
9.1.0-beta.110 88 12/16/2024
9.1.0-beta.109 113 12/12/2024
9.0.1-beta.108 88 12/12/2024
9.0.1-beta.107 82 12/11/2024
9.0.1-beta.106 111 12/12/2024
9.0.1-beta.104 103 12/11/2024