[
https://issues.apache.org/jira/browse/CAMEL-15836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17230554#comment-17230554
]
Claus Ibsen edited comment on CAMEL-15836 at 11/12/20, 12:25 PM:
-----------------------------------------------------------------
TODO: source code generator *DONE*
TODO: component level *DONE*
TODO: show in docs *DONE*
TODO: endpoint level *DONE*
TODO: language level
TODO: data format level
TODO: option to turn on|off *DONE*
TODO: regen camel karaf
TODO: regen camel spring boot
was (Author: davsclaus):
TODO: source code generator *DONE*
TODO: component level *DONE*
TODO: show in docs *DONE*
TODO: endpoint level
TODO: language level
TODO: data format level
> components - Automatic autowire by type - Specify which options support this
> ----------------------------------------------------------------------------
>
> Key: CAMEL-15836
> URL: https://issues.apache.org/jira/browse/CAMEL-15836
> Project: Camel
> Issue Type: Improvement
> Components: camel-core, tooling
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.7.0
>
>
> We could add to @Metadata so we can markup on components which options can be
> autowried automatic by its type, but looking up in registry for 1 instance of
> this type, and use it automatic.
> Such as JMS connection factory, JDBC DataSources, AWS Clients, Infinispan
> Client, etc.
> We had some code in camel-main in 3.6 or older, but this code was "too magic"
> and introspected all options and whatnot. And this causing longer startup and
> more memory. And each component generated metadata that took up memory space.
> That essentially was waste for 99% use cases.
> But if we have this marked up for specific options only, then we can make
> this faster and light.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)