CommunityToolkit.Aspire.MassTransit.RabbitMQ 9.3.1-beta.262

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.3.1-beta.262
                    
NuGet\Install-Package CommunityToolkit.Aspire.MassTransit.RabbitMQ -Version 9.3.1-beta.262
                    
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.3.1-beta.262" />
                    
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.3.1-beta.262" />
                    
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.3.1-beta.262
                    
#r "nuget: CommunityToolkit.Aspire.MassTransit.RabbitMQ, 9.3.1-beta.262"
                    
#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.3.1-beta.262&prerelease
                    
Install CommunityToolkit.Aspire.MassTransit.RabbitMQ as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.MassTransit.RabbitMQ&version=9.3.1-beta.262&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.  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.5.1-beta.303 10 6/4/2025
9.5.1-beta.302 12 6/4/2025
9.5.1-beta.301 33 6/2/2025
9.5.1-beta.300 113 5/28/2025
9.5.0 146 5/27/2025
9.5.0-beta.299 110 5/27/2025
9.5.0-beta.298 114 5/26/2025
9.5.0-beta.297 63 5/24/2025
9.5.0-beta.296 58 5/24/2025
9.5.0-beta.295 33 5/24/2025
9.4.1-beta.291 120 5/19/2025
9.4.1-beta.289 122 5/16/2025
9.4.1-beta.288 171 5/16/2025
9.4.1-beta.287 170 5/16/2025
9.4.1-beta.286 169 5/16/2025
9.4.1-beta.285 189 5/14/2025
9.4.1-beta.284 193 5/13/2025
9.4.1-beta.283 200 5/12/2025
9.4.1-beta.282 113 5/7/2025
9.4.1-beta.280 105 5/2/2025
9.4.1-beta.279 107 5/2/2025
9.4.1-beta.277 134 4/23/2025
9.4.1-beta.276 122 4/23/2025
9.4.1-beta.275 117 4/23/2025
9.4.1-beta.274 123 4/23/2025
9.4.1-beta.273 127 4/23/2025
9.4.1-beta.272 120 4/23/2025
9.4.1-beta.271 115 4/23/2025
9.4.1-beta.270 124 4/20/2025
9.4.0 320 4/20/2025
9.4.0-beta.269 124 4/20/2025
9.4.0-beta.268 120 4/20/2025
9.3.1-beta.267 124 4/20/2025
9.3.1-beta.266 46 4/19/2025
9.3.1-beta.265 155 4/15/2025
9.3.1-beta.264 157 4/15/2025
9.3.1-beta.263 149 4/15/2025
9.3.1-beta.262 151 4/15/2025
9.3.1-beta.260 121 4/10/2025
9.3.1-beta.259 124 4/8/2025
9.3.1-beta.258 118 4/8/2025
9.3.1-beta.257 119 4/8/2025
9.3.1-beta.256 129 4/8/2025
9.3.1-beta.255 120 4/8/2025
9.3.1-beta.254 120 4/8/2025
9.3.1-beta.253 129 4/1/2025
9.3.1-beta.252 103 3/27/2025
9.3.1-beta.250 99 3/27/2025
9.3.1-beta.249 97 3/27/2025
9.3.1-beta.248 104 3/27/2025
9.3.1-beta.247 101 3/27/2025
9.3.1-beta.244 451 3/25/2025
9.3.1-beta.242 451 3/24/2025
9.3.1-beta.241 122 3/19/2025
9.3.0 531 3/19/2025
9.3.0-beta.239 116 3/19/2025
9.2.2-beta.237 117 3/19/2025
9.2.2-beta.236 90 3/14/2025
9.2.2-beta.230 132 3/13/2025
9.2.2-beta.229 116 3/13/2025
9.2.2-beta.228 130 3/11/2025
9.2.2-beta.227 129 3/11/2025
9.2.2-beta.226 126 3/11/2025
9.2.2-beta.225 121 3/11/2025
9.2.2-beta.224 126 3/11/2025
9.2.2-beta.223 128 3/10/2025
9.2.2-beta.222 129 3/10/2025
9.2.2-beta.220 134 3/9/2025
9.2.2-beta.218 127 3/9/2025
9.2.2-beta.217 169 3/7/2025
9.2.2-beta.216 171 3/7/2025
9.2.2-beta.215 158 3/7/2025
9.2.2-beta.214 173 3/5/2025
9.2.2-beta.213 165 3/5/2025
9.2.2-beta.212 162 3/5/2025
9.2.2-beta.211 167 3/4/2025
9.2.2-beta.210 173 3/4/2025
9.2.2-beta.208 61 3/3/2025
9.2.1 1,077 3/3/2025
9.2.1-beta.207 83 3/2/2025
9.2.1-beta.206 57 3/1/2025
9.2.1-beta.205 62 2/27/2025
9.2.1-beta.204 58 2/26/2025
9.2.1-beta.203 55 2/26/2025
9.2.0 228 2/26/2025
9.2.0-beta.202 64 2/26/2025
9.2.0-beta.201 58 2/26/2025
9.2.0-beta.199 60 2/26/2025
9.2.0-beta.198 55 2/26/2025
9.1.1-beta.197 60 2/25/2025
9.1.1-beta.196 60 2/25/2025
9.1.1-beta.195 55 2/25/2025
9.1.1-beta.194 64 2/25/2025
9.1.1-beta.193 63 2/25/2025
9.1.1-beta.192 60 2/24/2025
9.1.1-beta.191 62 2/24/2025
9.1.1-beta.190 59 2/19/2025
9.1.1-beta.189 58 2/19/2025
9.1.1-beta.188 66 2/19/2025
9.1.1-beta.187 68 2/19/2025
9.1.1-beta.183 72 2/18/2025
9.1.1-beta.182 74 2/18/2025
9.1.1-beta.181 78 2/18/2025
9.1.1-beta.180 66 2/17/2025
9.1.1-beta.178 70 2/17/2025
9.1.1-beta.177 62 2/12/2025
9.1.1-beta.176 75 2/11/2025
9.1.1-beta.175 66 2/11/2025
9.1.1-beta.173 71 2/10/2025
9.1.1-beta.169 61 2/6/2025
9.1.1-beta.168 59 2/5/2025
9.1.1-beta.166 56 2/5/2025
9.1.1-beta.165 56 2/5/2025
9.1.1-beta.164 64 2/3/2025
9.1.1-beta.162 61 2/3/2025
9.1.1-beta.155 61 1/30/2025
9.1.1-beta.154 60 1/30/2025
9.1.1-beta.153 57 1/30/2025
9.1.1-beta.152 53 1/29/2025
9.1.1-beta.150 66 1/29/2025
9.1.1-beta.148 60 1/26/2025
9.1.1-beta.147 55 1/26/2025
9.1.1-beta.146 57 1/23/2025
9.1.1-beta.145 59 1/22/2025
9.1.1-beta.144 51 1/22/2025
9.1.1-beta.142 53 1/22/2025
9.1.1-beta.140 57 1/22/2025
9.1.1-beta.139 56 1/21/2025
9.1.1-beta.138 57 1/20/2025
9.1.1-beta.137 49 1/17/2025
9.1.1-beta.136 44 1/15/2025
9.1.1-beta.135 28 1/15/2025
9.1.1-beta.134 26 1/15/2025
9.1.1-beta.128 41 1/9/2025
9.1.1-beta.127 45 1/9/2025
9.1.1-beta.126 49 1/9/2025
9.1.1-beta.125 50 1/9/2025
9.1.1-beta.124 57 1/9/2025
9.1.0 199 12/12/2024
9.1.0-beta.123 66 1/3/2025
9.1.0-beta.122 62 1/3/2025
9.1.0-beta.121 63 1/2/2025
9.1.0-beta.120 58 12/30/2024
9.1.0-beta.119 52 12/30/2024
9.1.0-beta.118 59 12/30/2024
9.1.0-beta.116 56 12/30/2024
9.1.0-beta.114 59 12/30/2024
9.1.0-beta.113 59 12/30/2024
9.1.0-beta.112 58 12/18/2024
9.1.0-beta.110 64 12/16/2024
9.1.0-beta.109 65 12/12/2024
9.0.1-beta.108 65 12/12/2024
9.0.1-beta.107 60 12/11/2024
9.0.1-beta.106 61 12/12/2024
9.0.1-beta.104 64 12/11/2024