addActiveMQArtemis

Method
📦 CommunityToolkit.Aspire.Hosting.ActiveMQ v13.6.1
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addActiveMQArtemis(
name: string,
userName?: ParameterResource,
password?: ParameterResource,
port?: number,
scheme?: string,
webPort?: number): ActiveMQArtemisServerResource;
}

Signature

methodaddActiveMQArtemisbuilder
Adds a ActiveMQ Artemis container to the application model.
addActiveMQArtemis(
name: string,
userName?: ParameterResource,
password?: ParameterResource,
port?: number,
scheme?: string,
webPort?: number): ActiveMQArtemisServerResource
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.
userNameParameterResourceoptionalThe parameter used to provide the username for the ActiveMQ resource. If `null` a default value will be used.
passwordParameterResourceoptionalThe parameter used to provide the password for the ActiveMQ resource. If `null` a random password will be generated.
portnumberoptionalThe host port that the underlying container is bound to when running locally.
schemestringoptional= tcpThe scheme of the endpoint, e.g. tcp or activemq (for masstransit). Defaults to tcp.
webPortnumberoptionalThe host port that the underlying webconsole is bound to when running locally.
ActiveMQArtemisServerResource

Applies to

This method applies to the following types: