aldettinger commented on code in PR #8505:
URL: https://github.com/apache/camel-quarkus/pull/8505#discussion_r3046184581
##########
extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelNativeImageProcessor.java:
##########
@@ -159,6 +159,20 @@ void camelServices(
}
+ /**
+ * Register common Camel exception types for reflection.
+ */
+ @BuildStep
+ ReflectiveClassBuildItem registerCommonExceptions() {
+ return ReflectiveClassBuildItem.builder(
+ "org.apache.camel.ExchangeTimedOutException",
+ "org.apache.camel.CamelAuthorizationException",
+ "org.apache.camel.CamelExecutionException",
+ "org.apache.camel.NoSuchEndpointException",
+
"org.apache.camel.processor.ThrottlerRejectedExecutionException")
+ .build();
Review Comment:
This conversation might be more in the scope of #97. It was [not possible to
inspect routes at build
time](https://github.com/apache/camel-quarkus/issues/97#issuecomment-559607115).
Unless we have any clue that this limitation has changed, I would vote for
focusing this pr strictly on #7608.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]