Skip to content
Docs Try Aspire
Docs Try

addRabbitMQ

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

Signature

method addRabbitMQ builder
Adds a RabbitMQ container to the application model.
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 method applies to the following types: