Hi Clause,
 
thx for the answer. I just recognized that Camel 3.16.0 got a "new" health 
check API. Will take a deep look into this, soon. Is the next LTS release 
planed, yet? Maybe 3.17.0?

Regards,
Benjamin
 

Gesendet: Dienstag, 29. März 2022 um 21:56 Uhr
Von: "Claus Ibsen" <claus.ib...@gmail.com>
An: users@camel.apache.org
Betreff: Re: Manage health checks at runtime
Hi

Health checks can be excluded via patterns
https://camel.apache.org/manual/health-check.html#_excluding_health_checks

The remainder active health checks can be enabled/disabled
individually with the setEnabled setter, but that requires to get hold
of the health check via its ID etc.
There is a HealthCheckHelper method with some lookup methods.

Also health checks can/are enlisted as JMX MBeans so you can find them
there too to disable

On Mon, Mar 28, 2022 at 7:15 PM Benjamin Graf <benjamin.g...@gmx.net> wrote:
>
> Hi,
>
> does anybody know a way to enable/disable route/consumer checks for
> specific items at runtime. As I can see it's only possible to
> enable/disable the complete repository itself and the HealthCheck once
> computed seems not reconfigurable any more.
>
> Maybe worth for an enhancement?
>
> Regards
>
> Benjamin
>


--
Claus Ibsen
-----------------
http://davsclaus.com[http://davsclaus.com] @davsclaus
Camel in Action 2: 
https://www.manning.com/ibsen2[https://www.manning.com/ibsen2]

Reply via email to