You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/01/19 19:43:00 UTC
[jira] [Commented] (CAMEL-17511) Spring boot actuator endpoint parameters issues
[ https://issues.apache.org/jira/browse/CAMEL-17511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17478927#comment-17478927 ]
Claus Ibsen commented on CAMEL-17511:
-------------------------------------
How do you make maven compiler plugin compile with "-parameters" ? their doc is vague
> 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
>
> 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)