You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/11/04 15:42:00 UTC

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

Claus Ibsen created CAMEL-17168:
-----------------------------------

             Summary: 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
             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.3.4#803005)