[
https://issues.apache.org/jira/browse/CAMEL-16212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18151609#comment-18151609
]
Claus Ibsen commented on CAMEL-16212:
-------------------------------------
This API was asked for so that Camel Quarkus could find csimple expressions at
build time without relying on the
JAXB annotations of the model. The csimple language was removed in Camel 4.23,
and the model classes still carry
their JAXB annotations, so the use case is gone. Closing as obsolete; a new
ticket can be opened if another
build-time need for route introspection comes up.
_Claude Code on behalf of davsclaus_
> Build time route definition introspection API
> ---------------------------------------------
>
> Key: CAMEL-16212
> URL: https://issues.apache.org/jira/browse/CAMEL-16212
> Project: Camel
> Issue Type: New Feature
> Components: camel-core
> Reporter: Peter Palaga
> Priority: Minor
> Fix For: Future
>
>
> We currently (mis)use the fact that current model classes have JAXB
> annotations to discover CSimple expressions in Camel Quarkus - see
> https://github.com/apache/camel-quarkus/blob/master/extensions/csimple/deployment/src/main/java/org/apache/camel/quarkus/component/csimple/deployment/CSimpleProcessor.java#L337-L347
> [~davsclaus] mentioned recently that he would like to remove JAXB from Camel
> Core. It would be nice if Camel provided an API for route introspection at
> build time before JAXB is removed.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)