Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-17436

camel-spring-boot - Disabling health check for single route or consumer is not possible

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.14.0
    • 3.14.1, 3.15.0
    • camel-spring-boot
    • None
    • Unknown

    Description

      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().

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              karbi MichaƂ Ostrowski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: