Hi,

Try properties instead pf headers. It is the main diffrence between both.

- Romain

Le 28 oct. 2011 17:25, "ychawla" <[email protected]> a écrit :

> Hello All,
> I frequently set headers on an exchange so I can access them at different
> points on a route.  Is there a way to persist a variable between different
> exchanges?
>
> I have a timer that will query a database every minute.  I want to store
> the
> last record I queried so I only get new records.  I don't have access to
> write to the database so I can't use that to persist this info.  I could
> write it out to a text file and read/write it.  Is there a way to store
> this
> information in Camel so it can be available to different exchanges?
>
> Thanks,
> Yogesh
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Persisting-a-variable-over-different-exchanges-tp4946317p4946317.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to