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/05/27 08:58:00 UTC

[jira] [Commented] (CAMEL-13583) Camel Injector - Add method for creating a new instance without bean processing

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

Claus Ibsen commented on CAMEL-13583:
-------------------------------------

We should then use the basic injector internally in Camel which can make startup faster and also reduce the overhead of doing introspection and whatnot on a number of classes where its not needed.

> Camel Injector - Add method for creating a new instance without bean processing
> -------------------------------------------------------------------------------
>
>                 Key: CAMEL-13583
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13583
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 3.0.0, 3.0.0-M3
>
>
> There are use-cases where we for example loads the type converter loaded that creates an instance of the class, but we use the injector which does bean post processing by scanning methods for injecting fields / and other autowriting via those Camel annotations. But these type converters are basic and dont need this. There can be some other factory classes too, so lets have a basic injector method so you can choose.



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