On Mon, Oct 1, 2012 at 12:43 PM, Sri <[email protected]> wrote:
> Hi,
>
>
> I am using the camel in the web application which is deployed on tomcat 6.
>
> I wanted to bringdown the application with a single button and don't want
> loose any data.
> Is there any steps that I need to follow inorder not to loose any data on
> the routes..
>
> At the moment I am using context.stop() to stop consuming messages from the
> routes and added this to runtime shutdown hook.
>

Yeah see about graceful shutdown
http://camel.apache.org/graceful-shutdown.html

In a web application if using et spring, then it usually have
lifecycle management and will shutdown Camel out of the box.
And as Camel uses graceful shutdown, you wont normally need anything special.



> Regards
> Srinivas
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Bringing-down-the-application-tp5720302.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to