Interface SmallRyeFaultToleranceConfig


@ConfigMapping(prefix="quarkus.fault-tolerance") @ConfigRoot(phase=RUN_TIME) public interface SmallRyeFaultToleranceConfig
  • Method Details

    • enabled

      @ConfigDocDefault("true") Optional<Boolean> enabled()
      Whether fault tolerance strategies are enabled. Note that @Fallback is always enabled, this applies to all other strategies.
    • metricsEnabled

      @WithName("metrics.enabled") @ConfigDocDefault("true") Optional<Boolean> metricsEnabled()
      Whether fault tolerance metrics are enabled.
    • mpCompatibility

      @ConfigDocDefault("false") Optional<Boolean> mpCompatibility()
      Whether SmallRye Fault Tolerance should be compatible with the MicroProfile Fault Tolerance specification.
    • strategies

      @WithParentName @ConfigDocMapKey("<identifier>") Map<String,SmallRyeFaultToleranceConfig.StrategiesConfig> strategies()
      Configuration of fault tolerance strategies; either global, per class, or per method. Keys are:
      • global: for global configuration
      • "<classname>": for per class configuration
      • "<classname>/<methodname>": for per method configuration
      Note that configuration follows the MicroProfile Fault Tolerance specification. That is, if an annotation is present on a method, the configuration must be per method; if an annotation is present on a class, the configuration must be per class. Global configuration is a fallback for both per method and per class configuration, but per class configuration is not a fallback for per method configuration.