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

Spring boot actuator endpoint parameters issues

    XMLWordPrintableJSON

Details

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

    Description

      Hello,

      Currently, the endpoints of the camelroutes Springboot actuator are partially working. Indeed, the ones with parameters are not working.

      As a result, we can not query the endpoint which allows to get routes INFO or DETAIL, or to STOP/START a route. For example, we can not query

      /actuator/camelroutes/hello/INFO

      which should returns infos about the "hello" route. We receive a HTTP 400 Bad request instead.

       

      In the springboot doc, it says that for those parameters to work properly, the code should be compiled with "-parameters" arg (See https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#actuator.endpoints.implementing-custom.input).

      I believe that camel-spring-boot is not compiled this way.

      FYI, I had to change 

      <maven.compiler.source>1.8</maven.compiler.source>
      <maven.compiler.target>1.8</maven.compiler.target>

      Previous values were 1.7 for both.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ncasaux ncasaux
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: