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 2022/01/05 13:15:00 UTC

[jira] [Updated] (CAMEL-17436) camel-spring-boot - Disabling health check for single route or consumer is not possible

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

Claus Ibsen updated CAMEL-17436:
--------------------------------
    Fix Version/s: 3.15.0
                   3.14.1

> camel-spring-boot - Disabling health check for single route or consumer is not possible
> ---------------------------------------------------------------------------------------
>
>                 Key: CAMEL-17436
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17436
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-spring-boot
>    Affects Versions: 3.14.0
>            Reporter: MichaƂ Ostrowski
>            Priority: Major
>             Fix For: 3.15.0, 3.14.1
>
>
> I belive there are some bugs in CamelHealthCheckAutoConfiguration that prevents disabling health check on single route or consumer.
> For example, configuration like this:
> {{camel.health.config[consumer\:cron-delete-expired-tokens].parent=consumers}}
> {{camel.health.config[consumer\:cron-delete-expired-tokens].enabled=false}}
> causes disabling all consumers health checks.
> Configuration like this:
> {{camel.health.config[consumer\:cron-delete-expired-tokens].parent=routes}}
> {{camel.health.config[consumer\:cron-delete-expired-tokens].enabled=false}}
> disables all routes health checks.
> Not setting parent causes NullPointerException in HealthCheckRegistry::resolveById().



--
This message was sent by Atlassian Jira
(v8.20.1#820001)