davsclaus commented on code in PR #10847: URL: https://github.com/apache/camel/pull/10847#discussion_r1275718818
########## components/camel-aws/camel-aws2-sqs/src/main/java/org/apache/camel/component/aws2/sqs/Sqs2Consumer.java: ########## @@ -375,16 +371,6 @@ protected void doStart() throws Exception { } super.doStart(); - - // health-check is optional so discover and resolve - healthCheckRepository = HealthCheckHelper.getHealthCheckRepository(getEndpoint().getCamelContext(), "components", - WritableHealthCheckRepository.class); - - if (healthCheckRepository != null) { - consumerHealthCheck = new Sqs2ConsumerHealthCheck(this, getRouteId()); - consumerHealthCheck.setEnabled(getEndpoint().getComponent().isHealthCheckEnabled() && getEndpoint().getComponent().isHealthCheckConsumerEnabled()); Review Comment: Ah these new options are added in v4 - I am moving this to the scheduled poll consumer, so in your PR you can just remove these lines. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org