jamesnetherton opened a new pull request #6779: URL: https://github.com/apache/camel/pull/6779
I reworked MP health so that it now depends on SmallRye Health & registers camel checks with the relevant liveness or readiness registry. That way each check can write its own details content and not have the chance to overwrite detail coming from other checks. To avoid generating a very verbose health output (E.g if there many routes configured), I made the results of the routes and consumers checks to be an aggregated one. And only report the first failure encountered on the occurrence of errors. E.g: ```json { "status": "DOWN", "checks": [ { "name": "camel-routes", "status": "UP" }, { "name": "context", "status": "UP", "data": { "context.name": "camel-example", "context.version": "3.15.0-SNAPSHOT", "context.status": "Started" } }, { "name": "camel-consumers", "status": "DOWN" "data": { "failure.endpoint.uri": "foo:bar?option=value", "failure.error.count": "1", "error.message": "the error message", "error.stacktrace": "the stack trace" } }, ] } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org