Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddActiveMQArtemis

Method
📦 CommunityToolkit.Aspire.Hosting.ActiveMQ v13.6.1
func (DistributedApplicationBuilder) AddActiveMQArtemis(
name string,
options ...*AddActiveMQArtemisOptions,
) ActiveMQArtemisServerResource

Signature

methodAddActiveMQArtemisbuilder
Adds a ActiveMQ Artemis container to the application model.
AddActiveMQArtemis(
name string,
options ...*AddActiveMQArtemisOptions,
) ActiveMQArtemisServerResource
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.
options...*AddActiveMQArtemisOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*AddActiveMQArtemisOptions 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.
ActiveMQArtemisServerResource

A reference to the IResourceBuilder.

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

Applies to

This method applies to the following types:

typeDistributedApplicationBuilder