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

Claus Ibsen updated CAMEL-14525:
--------------------------------
    Fix Version/s: 3.1.0

> provide a bean definition to the auto configuration by property feature 
> ------------------------------------------------------------------------
>
>                 Key: CAMEL-14525
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14525
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-main
>            Reporter: Andrea Tarocchi
>            Priority: Major
>             Fix For: 3.1.0
>
>
> As discussed with [~davsclaus], would be very nice to have a mechanism in 
> property auto configurations to define beans in their own namespace i.e. in 
> order to make something like this possible:
> {code:sh}
> camel.bean.mycf=#class:my.package.MyCf
> camel.bean.mycf.brokerUrl=localhost:61616
> camel.bean.mycf.username=admin
> camel.bean.mycf.password=admin
> camel.component.sjms2.connectionFactory=#mycf
> {code}
> by instantiating, initializing and adding to the registry the {{mycf}} bean;
> that would nicely enhance the current autoconfiguration mechanism and 
> actually play quite nicely with the registry auto-discovery of single 
> implementation factories (i.e. making the 
> {{camel.component.sjms2.connectionFactory=#mycf}} unnecessary)



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

Reply via email to