camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: property-placeholder and classpath
Date Fri, 08 Oct 2010 04:11:30 GMT
On Fri, Oct 8, 2010 at 1:34 AM, Hossein <mamerkashi@csc.com> wrote:
>
> Using file instead of classpath worked-out great and I can just refresh the
> bundle so that it will reload the new property file.
>

Great.

> Follow-up to that, we have a camel route (bundle) that is that invokes a
> camel cxf andd is completely in spring dsl and I can't really change that to
> java dsl. I would also like to have that use properties so that information
> such as address or aFolderName [1] can be specified in property file. Any
> recommendation on how to use placeholders in a spring dsl?
>
> e.g.
>        <route>
>            <from uri="file:/tmp/aFolderName?delete=true" />  [1]
>            <to uri="someUri"/>
>            <to uri="cxf:bean:someservice"/>
>            <to uri="anotherUri"/>
>        </route>
>

Yeah check this FAQ
http://camel.apache.org/how-do-i-use-spring-property-placeholder-with-camel-xml.html



> --
> View this message in context: http://camel.465427.n5.nabble.com/property-placeholder-and-classpath-tp3202843p3203866.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message