Interface MqttDevServicesBuildTimeConfig
public interface MqttDevServicesBuildTimeConfig
-
Method Summary
Modifier and TypeMethodDescriptionEnvironment variables that are passed to the container.enabled()If Dev Services for MQTT has been explicitly enabled or disabled.The image to use.port()Optional fixed port the dev service will listen to.The value of thequarkus-dev-service-mqttlabel attached to the started container.booleanshared()Indicates if the MQTT broker managed by Quarkus Dev Services is shared.
-
Method Details
-
enabled
If Dev Services for MQTT has been explicitly enabled or disabled. Dev Services are generally enabled by default, unless there is an existing configuration present. For MQTT, Dev Services starts a broker unless*.hostor*.portare set for one of the connectors or if all the Reactive Messaging MQTT channel are configured withhostorport. -
port
OptionalInt port()Optional fixed port the dev service will listen to.If not defined, the port will be chosen randomly.
-
imageName
The image to use. -
serviceName
The value of thequarkus-dev-service-mqttlabel attached to the started container. This property is used whensharedis set totrue. In this case, before starting a container, Dev Services for MQTT looks for a container with thequarkus-dev-service-mqttlabel 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-mqttlabel set to the specified value.This property is used when you need multiple shared MQTT brokers.
-
containerEnv
Environment variables that are passed to the container.
-