addActiveMQArtemis
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addActiveMQArtemis( name: string, userName?: ParameterResource, password?: ParameterResource, port?: number, scheme?: string, webPort?: number): ActiveMQArtemisServerResource;}Signature
method
addActiveMQArtemis builderAdds a ActiveMQ Artemis container to the application model.
addActiveMQArtemis( name: string, userName?: ParameterResource, password?: ParameterResource, port?: number, scheme?: string, webPort?: number): ActiveMQArtemisServerResourceParameters
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.userName ParameterResource optionalThe parameter used to provide the username for the ActiveMQ resource. If `null` a default value will be used.passwordParameterResource optionalThe 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.webPort numberoptionalThe host port that the underlying webconsole is bound to when running locally.Returns
ActiveMQArtemisServerResource Applies to
This method applies to the following types: