You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/02/08 13:42:57 UTC

[camel] 14/16: CAMEL-18131 - camel-health - Do not register Producer Health Check until CAMEL-18992 will be completed - SNS

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

acosentino pushed a commit to branch camel-3.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 2d7944b4b404f7948552b8ff1648d14d88370d42
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Feb 8 14:34:32 2023 +0100

    CAMEL-18131 - camel-health - Do not register Producer Health Check until CAMEL-18992 will be completed - SNS
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../main/java/org/apache/camel/component/aws2/sns/Sns2Endpoint.java  | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/components/camel-aws/camel-aws2-sns/src/main/java/org/apache/camel/component/aws2/sns/Sns2Endpoint.java b/components/camel-aws/camel-aws2-sns/src/main/java/org/apache/camel/component/aws2/sns/Sns2Endpoint.java
index e945537fdcc..654d94efbb4 100644
--- a/components/camel-aws/camel-aws2-sns/src/main/java/org/apache/camel/component/aws2/sns/Sns2Endpoint.java
+++ b/components/camel-aws/camel-aws2-sns/src/main/java/org/apache/camel/component/aws2/sns/Sns2Endpoint.java
@@ -118,8 +118,9 @@ public class Sns2Endpoint extends DefaultEndpoint implements HeaderFilterStrateg
                 ComponentsHealthCheckRepository.REPOSITORY_ID, ComponentsHealthCheckRepository.class);
 
         if (healthCheckRepository != null) {
-            clientHealthCheck = new Sns2HealthCheck(this, getId());
-            healthCheckRepository.addHealthCheck(clientHealthCheck);
+            // Do not register the health check until we resolve CAMEL-18992
+            // clientHealthCheck = new Sns2HealthCheck(this, getId());
+            // healthCheckRepository.addHealthCheck(clientHealthCheck);
         }
 
         if (configuration.getTopicArn() == null) {