Class RabbitMQDevServicesBuildTimeConfig
java.lang.Object
io.quarkus.smallrye.reactivemessaging.rabbitmq.deployment.RabbitMQDevServicesBuildTimeConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionBindings that should be predefined after starting the RabbitMQ broker.Environment variables that are passed to the container.If Dev Services for RabbitMQ has been explicitly enabled or disabled.Exchanges that should be predefined after starting the RabbitMQ broker.Optional fixed port for the RabbitMQ management plugin.The image to use.Optional fixed port the dev service will listen to.Queues that should be predefined after starting the RabbitMQ broker.The value of thequarkus-dev-service-rabbitmqlabel attached to the started container.booleanIndicates if the RabbitMQ broker managed by Quarkus Dev Services is shared. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
enabled
If Dev Services for RabbitMQ has been explicitly enabled or disabled. Dev Services are generally enabled by default, unless there is an existing configuration present. For RabbitMQ, Dev Services starts a broker unlessrabbitmq-hostorrabbitmq-portare set or if all the Reactive Messaging RabbitMQ channel are configured withhostorport. -
port
Optional fixed port the dev service will listen to.If not defined, the port will be chosen randomly.
-
httpPort
Optional fixed port for the RabbitMQ management plugin.If not defined, the port will be chosen randomly.
-
imageName
The image to use. Note that only official RabbitMQ images are supported. Specifically, the image repository must end withrabbitmq. -
serviceName
The value of thequarkus-dev-service-rabbitmqlabel attached to the started container. This property is used whensharedis set totrue. In this case, before starting a container, Dev Services for RabbitMQ looks for a container with thequarkus-dev-service-rabbitmqlabel 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-rabbitmqlabel set to the specified value.This property is used when you need multiple shared RabbitMQ brokers.
-
exchanges
@ConfigItem @ConfigDocMapKey("exchange-name") public Map<String,RabbitMQDevServicesBuildTimeConfig.Exchange> exchangesExchanges that should be predefined after starting the RabbitMQ broker. -
queues
@ConfigItem @ConfigDocMapKey("queue-name") public Map<String,RabbitMQDevServicesBuildTimeConfig.Queue> queuesQueues that should be predefined after starting the RabbitMQ broker. -
bindings
@ConfigItem @ConfigDocMapKey("binding-name") public Map<String,RabbitMQDevServicesBuildTimeConfig.Binding> bindingsBindings that should be predefined after starting the RabbitMQ broker. -
containerEnv
Environment variables that are passed to the container.
-
-
Constructor Details
-
RabbitMQDevServicesBuildTimeConfig
public RabbitMQDevServicesBuildTimeConfig()
-