Skip to content
Docs Try Aspire

addRabbitMQ

Function
📦 Aspire.Hosting.RabbitMQ v13.2.0-preview.1.26159.1
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addRabbitMQ(
name: string,
userName?: ParameterResource,
password?: ParameterResource,
port?: number): RabbitMQServerResource;
}

Signature

method addRabbitMQ builder
Adds a RabbitMQ container resource
addRabbitMQ(
name: string,
userName?: ParameterResource,
password?: ParameterResource,
port?: number): RabbitMQServerResource
name string
userName ParameterResource optional
password ParameterResource optional
port number optional
RabbitMQServerResource

Applies to

This function is an extension method on the following types: