[ 
https://issues.apache.org/jira/browse/CAMEL-16081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-16081.
---------------------------------
    Resolution: Won't Fix

> camel-main - Defining beans creating new instances should avoid reflection
> --------------------------------------------------------------------------
>
>                 Key: CAMEL-16081
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16081
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.8.0
>
>
> BaseMainSupport at 
> Object bean = PropertyBindingSupport.resolveBean(camelContext, name, value);
> This is when you define a bean
> # # configure beans
> camel.beans.myBean = #class:org.apache.camel.example.MyBean
> camel.beans.myBean.hi = Hello
> Then a new instance is created but it does post process that does reflection 
> injection. That should not happen as the bean is configured afterwards via 
> configurer (if possible).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to