[
https://issues.apache.org/jira/browse/CAMEL-12460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16453877#comment-16453877
]
ASF GitHub Bot commented on CAMEL-12460:
----------------------------------------
igarashitm commented on a change in pull request #2307: CAMEL-12460 Fix camel
actuator endpoints to get it working with SB2
URL: https://github.com/apache/camel/pull/2307#discussion_r184354729
##########
File path: parent/pom.xml
##########
@@ -5009,6 +5009,9 @@
<target>${jdk.version}</target>
<maxmem>512M</maxmem>
<fork>${compiler.fork}</fork>
+ <compilerArgs>
Review comment:
`-parameters` preserves method parameter metadata in class file, and SB2
actuator endpoint needs to be compiled with this option to get parameterized
path working.
http://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
As this is additional metadata in the class file, I think it's not harmful
unless something depend on class file format, and allow other components to use
that metadata in the future.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> 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)