Re: Re: Manage health checks at runtime
Next LTS is in June and targeted as 3.18. On Wed, Mar 30, 2022 at 4:05 PM Benjamin Graf wrote: > > 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" > 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 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] -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2
Aw: Re: Manage health checks at runtime
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" 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 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]
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 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 @davsclaus Camel in Action 2: https://www.manning.com/ibsen2
Manage health checks at runtime
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 OpenPGP_signature Description: OpenPGP digital signature