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

Propagate error details from Camel health to MicroProfile Health

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.13.0
    • None
    • None
    • Unknown

    Description

      The org.apache.camel.health.HealthCheck.Result interface exposes the Optional<Throwable> getError() method, that provides the exception information that may explain the health check result.

      This can prove very useful information for users. However, it is not propagated to the MicroProfile Health response org.eclipse.microprofile.health.HealthCheckResponse, that's converted from the Camel health check result.

      If the optional error is present, it should be propagated and accessible from the Optional<Map<String, Object>> HealthCheckResponse.getData() API.

      Other details could also be propagated.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              antonin.stefanutti Antonin Stefanutti
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: