[ 
https://issues.apache.org/jira/browse/CAMEL-20242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rinaldo Pitzer Júnior updated CAMEL-20242:
------------------------------------------
    Description: 
The default status for the camel-routes health checks is UP, and it is used if 
none of the routes is reporting DOWN.

When using the Supervising route controller, if the health check endpoint is 
called before the routes are started, the default status UP is reported.

This means that the application reports as Ready even before the routes were 
attempted to be started.

Even in scenarios where the route is certanly going to fail to startup, [like 
this 
one|https://github.com/rinaldodev/camel-playground/blob/7a30e964ba2ba233db347771d088b721cc331b82/src/main/java/com/github/lburgazzoli/MyRoutes.java],
 there is a brief period where the application reports as Ready.

  was:
The default status for the camel-routes health checks is UP, and it is used if 
none of the routes is reporting DOWN.

When using the Supervising route controller, if the health check endpoint is 
called before the routes are started, the default status UP is reported.

This means that the application reports as Ready even before the routes were 
attempted to be started.

 


> camel-routes health check reports UP right before routes are loaded using 
> supervising route controller
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-20242
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20242
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-health, camel-microprofile-health
>    Affects Versions: 4.1.0
>            Reporter: Rinaldo Pitzer Júnior
>            Assignee: Luca Burgazzoli
>            Priority: Minor
>
> The default status for the camel-routes health checks is UP, and it is used 
> if none of the routes is reporting DOWN.
> When using the Supervising route controller, if the health check endpoint is 
> called before the routes are started, the default status UP is reported.
> This means that the application reports as Ready even before the routes were 
> attempted to be started.
> Even in scenarios where the route is certanly going to fail to startup, [like 
> this 
> one|https://github.com/rinaldodev/camel-playground/blob/7a30e964ba2ba233db347771d088b721cc331b82/src/main/java/com/github/lburgazzoli/MyRoutes.java],
>  there is a brief period where the application reports as Ready.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to