[ 
https://issues.apache.org/jira/browse/CAMEL-17511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-17511.
---------------------------------
    Fix Version/s: 3.14.1
                   3.15.0
       Resolution: Fixed

> 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
>            Reporter: ncasaux
>            Priority: Minor
>             Fix For: 3.14.1, 3.15.0
>
>
> 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. 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 
> {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)

Reply via email to