Skip to content
DocsTry Aspire
DocsTry

addLavinMQ

Method
📦 CommunityToolkit.Aspire.Hosting.LavinMQ v13.4.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addLavinMQ(
name: string,
amqpPort?: number,
managementPort?: number): LavinMQContainerResource;
}

Signature

methodaddLavinMQbuilder
Adds a LavinMQ container resource to the distributed application builder. Configures the resource with specified parameters and sets up health checks for the resource.
addLavinMQ(
name: string,
amqpPort?: number,
managementPort?: number): LavinMQContainerResource
namestring
amqpPortnumberoptional= 5672
managementPortnumberoptional= 15672
LavinMQContainerResource

Applies to

This method applies to the following types: