You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2019/03/12 15:48:00 UTC

[jira] [Commented] (CAMEL-13313) camel-core - Add alternative way of loading type converters without classpath scanning

    [ https://issues.apache.org/jira/browse/CAMEL-13313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16790676#comment-16790676 ] 

Claus Ibsen commented on CAMEL-13313:
-------------------------------------

We can do a maven plugin that you can use a build time to detect the META-INF/.../TypeConverter files and generate some java source code to load them into CamelContext, so we can do this during initial startup of Camel, and also allow native built binaries to do ahead of time compilation and have it blazingly fast loaded.

> camel-core - Add alternative way of loading type converters without classpath scanning
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-13313
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13313
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 3.0.0, 3.0.0-M2
>
>
> We should make it possible to load and install all type converters without having to do
> - classpath scanning
> - loading TypeConverter file from META-INF
> For example we do some apt compiler source code generation for the core type converter.
> It would be good to have something similar or other means of loading and installing type converters that can be done fast and quick, which is needed for Camel K and graal like runtimes.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)