camel-quarkus icon indicating copy to clipboard operation
camel-quarkus copied to clipboard

Inspect Camel route to auto-detect onException classes for native build

Open apupier opened this issue 3 months ago • 1 comments

Describe the feature here

when using onException(MyExeption.class) in native mode, it would be nice to auto-detect that this class is needed for reflection.

apupier avatar Oct 15 '25 16:10 apupier

The required change in code requires https://github.com/apache/camel-quarkus/issues/97.

There were attempts to get model during the build time (like https://github.com/apache/camel-quarkus/pull/178), unfortunately we do not have an easy way of achieving this currently.

JiriOndrusek avatar Dec 04 '25 11:12 JiriOndrusek