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

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

Dooh I had a 2nd though and would like to propose to use the # syntax that 
Apache CXF uses (AFAIR)

So you can do this:
{code}
file://target/idempotent/?idempotent=true&idempotentRepository=#myRepo&moveNamePrefix=done/
{code}

As the value starts with a # then it's looked up in the registry. I am 
wondering it it should be a mandatory option so Camel will raise an exception 
if not found and not possible to set?

> 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
>            Assignee: 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