Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.14.0
-
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.