Package io.quarkus.mongodb.deployment
Class MongoClientBuildTimeConfig
- java.lang.Object
-
- io.quarkus.mongodb.deployment.MongoClientBuildTimeConfig
-
@ConfigRoot(name="mongodb", phase=BUILD_TIME) public class MongoClientBuildTimeConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description DevServicesBuildTimeConfigdevservicesConfiguration for DevServices.booleanforceDefaultClientsIf set to true, the default clients will always be created even if there are no injection points that use thembooleanhealthEnabledWhether a health check is published in case the smallrye-health extension is present.booleanmetricsEnabledWhether metrics are published in case a metrics extension is present.booleantracingEnabledWhether tracing spans of driver commands are sent in case the smallrye-opentracing extension is present.
-
Constructor Summary
Constructors Constructor Description MongoClientBuildTimeConfig()
-
-
-
Field Detail
-
healthEnabled
@ConfigItem(name="health.enabled", defaultValue="true") public boolean healthEnabledWhether a health check is published in case the smallrye-health extension is present.
-
metricsEnabled
@ConfigItem(name="metrics.enabled") public boolean metricsEnabled
Whether metrics are published in case a metrics extension is present.
-
tracingEnabled
@ConfigItem(name="tracing.enabled") public boolean tracingEnabled
Whether tracing spans of driver commands are sent in case the smallrye-opentracing extension is present.
-
forceDefaultClients
@ConfigItem(name="force-default-clients") public boolean forceDefaultClients
If set to true, the default clients will always be created even if there are no injection points that use them
-
devservices
@ConfigItem public DevServicesBuildTimeConfig devservices
Configuration for DevServices. DevServices allows Quarkus to automatically start MongoDB in dev and test mode.
-
-