Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddActiveMQ

Method
📦 CommunityToolkit.Aspire.Hosting.ActiveMQ v13.6.1
func (DistributedApplicationBuilder) AddActiveMQ(
name string,
options ...*AddActiveMQOptions,
) ActiveMQServerResource

Signature

methodAddActiveMQbuilder
Adds a ActiveMQ container to the application model.
AddActiveMQ(
name string,
options ...*AddActiveMQOptions,
) ActiveMQServerResource
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.
options...*AddActiveMQOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*AddActiveMQOptions argument.

UserName*ParameterResourceThe parameter used to provide the username for the ActiveMQ resource. If null a default value will be used.
Password*ParameterResourceThe parameter used to provide the password for the ActiveMQ resource. If null a random password will be generated.
Port*float64The host port that the underlying container is bound to when running locally.
Scheme*stringThe scheme of the endpoint, e.g. tcp or activemq (for masstransit). Defaults to tcp.
WebPort*float64The host port that the underlying webconsole is bound to when running locally.
ActiveMQServerResource

A reference to the IResourceBuilder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types:

typeDistributedApplicationBuilder