Class AmqpDevServicesBuildTimeConfig
- java.lang.Object
-
- io.quarkus.smallrye.reactivemessaging.amqp.deployment.AmqpDevServicesBuildTimeConfig
-
public class AmqpDevServicesBuildTimeConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Map<String,String>containerEnvEnvironment variables that are passed to the container.Optional<Boolean>enabledIf Dev Services for AMQP has been explicitly enabled or disabled.StringextraArgsThe value of theAMQ_EXTRA_ARGSenvironment variable to pass to the container.StringimageNameThe image to use.Optional<Integer>portOptional fixed port the dev service will listen to.StringserviceNameThe value of thequarkus-dev-service-aqmplabel attached to the started container.booleansharedIndicates if the AMQP broker managed by Quarkus Dev Services is shared.
-
Constructor Summary
Constructors Constructor Description AmqpDevServicesBuildTimeConfig()
-
-
-
Field Detail
-
enabled
@ConfigItem public Optional<Boolean> 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
@ConfigItem public Optional<Integer> port
Optional fixed port the dev service will listen to.If not defined, the port will be chosen randomly.
-
imageName
@ConfigItem(defaultValue="quay.io/artemiscloud/activemq-artemis-broker:1.0.22") public String 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
@ConfigItem(defaultValue="--no-autotune --mapped --no-fsync --relax-jolokia") public String extraArgs
The value of theAMQ_EXTRA_ARGSenvironment variable to pass to the container. For ActiveMQ Artemis Broker <= 1.0.21, set this property to--no-autotune --mapped --no-fsync --relax-jolokia --http-host 0.0.0.0
-
shared
@ConfigItem(defaultValue="true") public boolean shared
Indicates if the AMQP broker managed by Quarkus Dev Services is shared. When shared, Quarkus looks for running containers using label-based service discovery. If a matching container is found, it is used, and so a second one is not started. Otherwise, Dev Services for AMQP starts a new container.The discovery uses the
quarkus-dev-service-amqplabel. The value is configured using theservice-nameproperty.Container sharing is only used in dev mode.
-
serviceName
@ConfigItem(defaultValue="amqp") public String 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.
-
-