[ 
https://issues.apache.org/jira/browse/CAMEL-12460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16453158#comment-16453158
 ] 

ASF GitHub Bot commented on CAMEL-12460:
----------------------------------------

GitHub user igarashitm opened a pull request:

    https://github.com/apache/camel/pull/2307

    CAMEL-12460 Fix camel actuator endpoints to get it working with SB2

    Also extracted CamelRoutesEndpointProperties as a separated class from 
CamelRoutesEndpoint
    
    I wanted to make sure if it's OK to add `-parameters` javac option in 
parent POM. This option preserves method parameter names into class file, which 
is required for SB2 actuator endpoint to map path parameters.
    
https://docs.spring.io/spring-boot/docs/current/reference/html/production-ready-endpoints.html
    > To allow the input to be mapped to the operation method’s parameters, 
Java code implementing an endpoint should be compiled with -parameters
    
    Hopefully nothing depends on class file format, so that this option doesn't 
break anything.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/igarashitm/camel CAMEL-12460

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/2307.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2307
    
----
commit b02b9251b6b9eb7b873336530e2cf7f0ee0420d9
Author: Tomohisa Igarashi <tm.igarashi@...>
Date:   2018-04-25T20:37:40Z

    CAMEL-12460 Fix camel actuator endpoints to get it working with SB2
    
    Also extracted CamelRoutesEndpointProperties as a separated class from 
CamelRoutesEndpoint

----


> Spring Boot 2 - Camel routes actuator trouble
> ---------------------------------------------
>
>                 Key: CAMEL-12460
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12460
>             Project: Camel
>          Issue Type: Sub-task
>          Components: camel-spring-boot
>            Reporter: Claus Ibsen
>            Assignee: Tomohisa Igarashi
>            Priority: Major
>             Fix For: 2.22.0
>
>
> It seems there is a bit of problem getting those to work in the examples. We 
> need to get the context-path and have it working in the 
> camel-example-spring-boot.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to