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

Claus Ibsen commented on CAMEL-3171:
------------------------------------

I wonder if there's a way of kinda adding this 'at the side' in XML land so it 
doesn't mess with jaxb/schemagen/the AST model?

e.g. <split timeout="100" prop:timeout="foo.bar">....

So it will use the foo.bar property if defined, and if not fallback and use 100.

> Allow property placeholders to be used anywhere in Spring XML (and blueprint 
> as well)
> -------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3171
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3171
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-blueprint, camel-core, camel-spring
>    Affects Versions: 2.4.0
>            Reporter: Claus Ibsen
>             Fix For: 3.0.0
>
>
> When using Spring XML or blueprint there is a XSD defining what types the EIP 
> attributes uses.
> For example a timeout would be xs:int, and there could be xs:boolean etc.
> But you may want to use property placeholders so you can do
> {code}
> timeout="{{foo.myTimeout}}"
> {code}
> Where {{foo.myTimeout}} is the properties stuff.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to