addLavinMQ

Method
📦 CommunityToolkit.Aspire.Hosting.LavinMQ v13.6.1
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
namestringThe name of the LavinMQ resource.
amqpPortnumberoptional= 5672The port number for the AMQP protocol. Default is 5672.
managementPortnumberoptional= 15672The port number for the management interface. Default is 15672.
LavinMQContainerResource

Applies to

This method applies to the following types: