You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Edward Kuenen (Jira)" <ji...@apache.org> on 2022/03/22 12:03:00 UTC

[jira] [Comment Edited] (CAMEL-17168) camel-health - Route health check with consumer should be DOWN until first poll executed

    [ https://issues.apache.org/jira/browse/CAMEL-17168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17510440#comment-17510440 ] 

Edward Kuenen edited comment on CAMEL-17168 at 3/22/22, 12:02 PM:
------------------------------------------------------------------

Hi Claus, could it also be set to UNKNOWN till it is executed? Now our orchestration is down till it is executed.


was (Author: JIRAUSER285201):
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)