Interface AmqpDevServicesBuildTimeConfig
public interface AmqpDevServicesBuildTimeConfig
-
Method Summary
Modifier and TypeMethodDescriptionEnvironment variables that are passed to the container.enabled()If Dev Services for AMQP has been explicitly enabled or disabled.The value of theAMQ_EXTRA_ARGSenvironment variable to pass to the container.The image to use.port()Optional fixed port the dev service will listen to.The value of thequarkus-dev-service-aqmplabel attached to the started container.booleanshared()Indicates if the AMQP broker managed by Quarkus Dev Services is shared.
-
Method Details
-
enabled
If Dev Services for AMQP has been explicitly enabled or disabled. Dev Services are generally enabled by default, unless there is an existing configuration present. For AMQP, Dev Services starts a broker unlessamqp-hostoramqp-portare set or if all the Reactive Messaging AMQP channel are configured withhostorport. -
port
Optional fixed port the dev service will listen to.If not defined, the port will be chosen randomly.
-
imageName
The image to use. Note that only ActiveMQ Artemis images are supported. Specifically, the image repository must end withartemiscloud/activemq-artemis-broker.Check the activemq-artemis-broker on Quay page to find the available versions.
-
extraArgs
The value of theAMQ_EXTRA_ARGSenvironment variable to pass to the container. For ActiveMQ Artemis Broker invalid input: '<'= 1.0.21, set this property to--no-autotune --mapped --no-fsync --relax-jolokia --http-host 0.0.0.0 -
serviceName
The value of thequarkus-dev-service-aqmplabel attached to the started container. This property is used whensharedis set totrue. In this case, before starting a container, Dev Services for AMQP looks for a container with thequarkus-dev-service-amqplabel set to the configured value. If found, it will use this container instead of starting a new one. Otherwise, it starts a new container with thequarkus-dev-service-amqplabel set to the specified value.This property is used when you need multiple shared AMQP brokers.
-
containerEnv
Environment variables that are passed to the container.
-