Skip to content
Docs Try Aspire
Docs Try

addLavinMQ

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

Signature

method addLavinMQ builder
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
name string
amqpPort number optional = 5672
managementPort number optional = 15672
LavinMQContainerResource

Applies to

This method applies to the following types: