Re: using values from a properties-file in setHeader-method

2012-01-19 Thread ebinsingh
.com/using-values-from-a-properties-file-in-setHeader-method-tp5154287p5157928.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: using values from a properties-file in setHeader-method

2012-01-19 Thread Claus Ibsen
> > > Appriciate your help. > > Ebe > > -- > View this message in context: > http://camel.465427.n5.nabble.com/using-values-from-a-properties-file-in-setHeader-method-tp5154287p5157868.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Clau

Re: using values from a properties-file in setHeader-method

2012-01-19 Thread ebinsingh
ltel2 Appriciate your help. Ebe -- View this message in context: http://camel.465427.n5.nabble.com/using-values-from-a-properties-file-in-setHeader-method-tp5154287p5157868.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: using values from a properties-file in setHeader-method

2012-01-18 Thread Christoph Burmeister
Hi, @Christian: That would mean, I have to hold the value for the header in my camel.xml and that's not what I need. I need it in a separate file :-/ Thank's anyway. @Bilgin: That's the way it works :-) Thank you. For others: you need to define a propertyPlaceholder in the context to use externa

Re: using values from a properties-file in setHeader-method

2012-01-18 Thread Bilgin Ibryam
My guess is that something like this should work: ${properties:key} Bilgin On 18 January 2012 09:34, Christoph Burmeister wrote: > hi, > > how can I set a header with a value from a properties-file using > spring-xml? > Doing this with the const-tag is no problem, but the

Re: using values from a properties-file in setHeader-method

2012-01-18 Thread Christian Müller
Does this solve your needs: http://camel.apache.org/constant.html theValue Best, Christian On Wed, Jan 18, 2012 at 10:34 AM, Christoph Burmeister < chburmeis...@googlemail.com> wrote: > hi, > > how can I set a header with a value from a properties-file using > spring-xml? > Doing this with t

using values from a properties-file in setHeader-method

2012-01-18 Thread Christoph Burmeister
hi, how can I set a header with a value from a properties-file using spring-xml? Doing this with the const-tag is no problem, but then the value has to be directly written in the camel.xml: foobar I like to use something like this: environment.properties: - head