You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/09/28 16:18:40 UTC

[jira] Commented: (CAMEL-3171) Allow property placeholders to be used anywhere in Spring XML (and blueprint as well)

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

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

Defining the routes in the <routeContext> tag allow us to be in control. Where as inside the <camelContext> we are in the mercy of Spring namespace handler which has some serious limitations in terms of property placeholders resolution.


> Allow property placeholders to be used anywhere in Spring XML (and blueprint as well)
> -------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3171
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3171
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-blueprint, camel-core, camel-spring
>    Affects Versions: 2.4.0
>            Reporter: Claus Ibsen
>            Assignee: 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.
-
You can reply to this email to add a comment to the issue online.