Skip to main content
Published
Dec 12, 2024
1y ago
Total Downloads
77.6K
77,642

Install

dotnet add package CommunityToolkit.Aspire.Hosting.ActiveMQ --version 9.1.0
ProductVersions
.NET
net8.0net9.0

README

CommunityToolkit.Hosting.ActiveMQ

Overview

This .NET Aspire Integration runs Active MQ Classig in a container.

Usage

Example 1: ActiveMQ with default tcp scheme

var builder = DistributedApplication.CreateBuilder(args);

var amq = builder.AddActiveMQ("amq", 
        builder.AddParameter("user", "admin"),
        builder.AddParameter("password", "admin", secret: true), 
        61616)
        .PublishAsConnectionString()
        .WithEndpoint(port: 8161, targetPort: 8161, name: "web", scheme: "http");

Example 2: ActiveMQ with activemq scheme for use with MassTransit

var builder = DistributedApplication.CreateBuilder(args);

var amq = builder.AddActiveMQ("amq", 
        builder.AddParameter("user", "admin"),
        builder.AddParameter("password", "admin", secret: true), 
        61616, 
        "activemq")
        .PublishAsConnectionString()
        .WithEndpoint(port: 8161, targetPort: 8161, name: "web", scheme: "http");

Changes from Previous Version

No structural changes between v9.1.0-beta.123 and v9.1.0.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.