camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Store variable in camel context for later use
Date Wed, 20 Nov 2013 10:58:37 GMT
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 <komalbhola@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: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message