You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ncasaux (Jira)" <ji...@apache.org> on 2022/01/18 22:37:00 UTC

[jira] [Updated] (CAMEL-17511) Spring boot actuator endpoint parameters issues

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

ncasaux updated CAMEL-17511:
----------------------------
    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
{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.

  was:
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.


> 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
>            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.
> 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)