CommunityToolkit.Aspire.MassTransit.RabbitMQ 9.8.1-beta.414

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