Class MongoClientBuildTimeConfig


  • @ConfigRoot(name="mongodb",
                phase=BUILD_TIME)
    public class MongoClientBuildTimeConfig
    extends Object
    • Field Detail

      • healthEnabled

        @ConfigItem(name="health.enabled",
                    defaultValue="true")
        public boolean healthEnabled
        Whether 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.
    • Constructor Detail

      • MongoClientBuildTimeConfig

        public MongoClientBuildTimeConfig()