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

2012-01-19 Thread ebinsingh
I see something strange here. If I have the below to routes, the logginf works perfectly. ${file:path} ${file:name} ltel2

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

2012-01-19 Thread Claus Ibsen
Put the outside the . On Thu, Jan 19, 2012 at 3:56 PM, ebinsingh wrote: > Hi All, > > I am trying to set few header's, but does not seem to work. > I guess I am missing something but not able to find that out. > The below logs age not printted in the log file. > > >       >             headerNa

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

2012-01-19 Thread ebinsingh
Hi All, I am trying to set few header's, but does not seem to work. I guess I am missing something but not able to find that out. The below logs age not printted in the log file. ${file:path} ${file:name} ltel2

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