You can use a java bean and have methods to update date and time. And
let Camel call this bean using its bean component etc.


On Wed, Nov 20, 2013 at 7:36 AM, komal bhola <komalbh...@gmail.com> wrote:
> Hi,
>
> I need to store a date time variable in body. I need to use this variable in
> different routes and change its date and time.
> I am using following  code for this.
>                      <setBody>
>                             <simple>${SYSDATE()}</simple>
>                      </setBody>
>
> I am a newbie in camel. Plz help.
>
> Thanks,
> Komal
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Store-variable-in-camel-context-for-later-use-tp5743558.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to