FWIW, you may want to try with blueprint instead of spring-dm (the camel
schema is the same, so migration is really easy) and you should be able to
leverage property placeholders fully (they are similar to the spring ones).

On Fri, Oct 8, 2010 at 06:11, Claus Ibsen <claus.ib...@gmail.com> wrote:

> On Fri, Oct 8, 2010 at 1:34 AM, Hossein <mamerka...@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
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Reply via email to