Thanks for your quick answer.

Is it possibile to use SetProperty in Spring XML routes?

I cannot find any doc/example, only this issue

 https://issues.apache.org/activemq/browse/CAMEL-923

Thanks in advance
Matteohttps://issues.apache.org/activemq/browse/CAMEL-923


RomKal wrote:
> 
> Ciao Matteo!
> 
> You can use exchange properties for this. You do it using
> setProperty() instead of setHeader() and they live as long as the
> flow.
> 
> Headers can be lost at endpoints basically as they usually represent
> some component specific things (request headers in http protocol are
> different than response headers, so they simply have to be lost).
> 
> Roman
> 
> 2009/5/4 Matteo Redaelli <[email protected]>:
>>
>> Ciao
>>
>> I would like to save a value at the beginnig of my route and reuse it at
>> the
>> end. What could I do? Headers?
>> How long do the camel headers live in routes?
>>
>> Is it possible to do something like
>>  from jms -> set header MYHEADER -> to velocity -> to jdbc -> split -> to
>> velocity (reusing MYHEADER) -> to jms
>> ?
>>
>> Thanks in advance
>> Matteo
>>
>> --
>> View this message in context:
>> http://www.nabble.com/How-long-do-the-camel-headers-live-in-routes--tp23375104p23375104.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-long-do-the-camel-headers-live-in-routes--tp23375104p23375382.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to