You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/02/07 10:20:36 UTC

[camel-spring-boot] branch camel-spring-boot-3.14.x updated: CAMEL-17587: camel-health - Make Health Check API simpler

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-spring-boot-3.14.x
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/camel-spring-boot-3.14.x by this push:
     new a6bec36  CAMEL-17587: camel-health - Make Health Check API simpler
a6bec36 is described below

commit a6bec36c2c795fd8d279002cef5b7b64dee48462
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Feb 7 11:20:27 2022 +0100

    CAMEL-17587: camel-health - Make Health Check API simpler
---
 .../actuate/health/CamelHealthCheckConfigurationProperties.java     | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthCheckConfigurationProperties.java b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthCheckConfigurationProperties.java
index 435161c..d593877 100644
--- a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthCheckConfigurationProperties.java
+++ b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthCheckConfigurationProperties.java
@@ -131,11 +131,13 @@ public class CamelHealthCheckConfigurationProperties {
         /**
          * Set the check interval in milli seconds.
          */
+        @Deprecated
         private Long interval;
 
         /**
          * Set the number of failure before reporting the service as un-healthy.
          */
+        @Deprecated
         private Integer failureThreshold;
 
         public String getParent() {
@@ -154,18 +156,22 @@ public class CamelHealthCheckConfigurationProperties {
             this.enabled = enabled;
         }
 
+        @Deprecated
         public Long getInterval() {
             return interval;
         }
 
+        @Deprecated
         public void setInterval(Long interval) {
             this.interval = interval;
         }
 
+        @Deprecated
         public Integer getFailureThreshold() {
             return failureThreshold;
         }
 
+        @Deprecated
         public void setFailureThreshold(Integer failureThreshold) {
             this.failureThreshold = failureThreshold;
         }