Thanks a lot.. Will try it out .. Regards, Komal
Sent from my iPhone On 20-Nov-2013, at 16:30, "Claus Ibsen-2 [via Camel]" <[email protected]> wrote: > 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 <[hidden email]> 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: [hidden email] > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen > > > If you reply to this email, your message will be added to the discussion > below: > http://camel.465427.n5.nabble.com/Store-variable-in-camel-context-for-later-use-tp5743558p5743568.html > To unsubscribe from Store variable in camel context for later use, click here. > NAML -- View this message in context: http://camel.465427.n5.nabble.com/Store-variable-in-camel-context-for-later-use-tp5743558p5743569.html Sent from the Camel - Users mailing list archive at Nabble.com.
