[ https://issues.apache.org/jira/browse/CAMEL-17168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17510440#comment-17510440 ]
Edward Kuenen commented on CAMEL-17168: --------------------------------------- Hi Claus, could it also be set to UNKNOWN till it is executed. Now our orchestration is down till it is executed. > camel-health - Route health check with consumer should be DOWN until first > poll executed > ---------------------------------------------------------------------------------------- > > Key: CAMEL-17168 > URL: https://issues.apache.org/jira/browse/CAMEL-17168 > Project: Camel > Issue Type: Improvement > Components: camel-core > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Priority: Major > Fix For: 3.13.0 > > > When using health check then you can have a situation where a route is UP > during startup, because the route is started, but the scheduled consumer has > not executed a poll yet. > And if that poll then fails, then the status can be DOWN due to the error. > So you can have UP -> DOWN that goes quickly. > Instead we should keep it as DOWN until at least one poll has been executed > so we know if that is a success or not. -- This message was sent by Atlassian Jira (v8.20.1#820001)