addActiveMQ
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addActiveMQ( name: string, userName?: ParameterResource, password?: ParameterResource, port?: number, scheme?: string, webPort?: number): ActiveMQServerResource;}Signature
method
addActiveMQ builderAdds a ActiveMQ container to the application model.
addActiveMQ( name: string, userName?: ParameterResource, password?: ParameterResource, port?: number, scheme?: string, webPort?: number): ActiveMQServerResourceParameters
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
ActiveMQServerResource Applies to
This method applies to the following types: