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