This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit ee1ca339915efe81a0d0489a3f3223f96a015519 Author: Andrea Cosentino <[email protected]> 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 <[email protected]> --- .../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) {
