You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "aldettinger (via GitHub)" <gi...@apache.org> on 2023/02/07 09:08:05 UTC
[GitHub] [camel-quarkus] aldettinger commented on issue #97: Inspect routes to detect classes that may require reflection
aldettinger commented on issue #97:
URL: https://github.com/apache/camel-quarkus/issues/97#issuecomment-1420429697
And a more tricky case described here:
https://camel.zulipchat.com/#narrow/stream/257302-camel-quarkus/topic/MethodNotFoundException.20using.20YAML.20DSL.20with.20native-image
Executing the simple expression below would need to register the `String` class as reflective:
```
simple:
expression: '${body.replaceAll("^data: *", "")}'
resultType: java.lang.String
```
This is even language level inspection. Maybe in such a case, it's even better to log a warning stating that csimple is a better option. Let's see.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org