ncasaux created CAMEL-17511:
-------------------------------
Summary: Spring boot actuator endpoint parameters issues
Key: CAMEL-17511
URL: https://issues.apache.org/jira/browse/CAMEL-17511
Project: Camel
Issue Type: Bug
Components: camel-spring-boot
Affects Versions: 3.14.0
Environment: {code:java}
// code placeholder
{code}
Reporter: ncasaux
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
{code:java}
/actuator/camelroutes/hello/INFO{code}
which should returns infos about the "hello" route.
In the springboot doc, it says that for thoses 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
{code:java}
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>{code}
Previous values were 1.7 for both.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)