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

Claus Ibsen commented on CAMEL-895:
-----------------------------------

Maybe not as magic

We could allow any {{xxxxRef}} URI option to automatic lookup in the registry 
and then configure the endpoint if it has a xxx setter.

> DefaultComponent - setProperties should be able to lookup ref in registry
> -------------------------------------------------------------------------
>
>                 Key: CAMEL-895
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-895
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.5.0
>            Reporter: Claus Ibsen
>             Fix For: 2.0.0
>
>
> URI configuration of endpoints sometimes supports being able to reference a 
> bean in the registry.
> For instance camel-mina has the codec option. Currently this is speically 
> manually coded in the component factory.
> Would be lovely if setProperties(configBean, parameters) would be able to 
> determine this itself and lookup beans in registry.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to