camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Bringing down the application
Date Mon, 01 Oct 2012 13:31:21 GMT
On Mon, Oct 1, 2012 at 12:43 PM, Sri <> 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

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:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
FuseSource is now part of Red Hat
Twitter: davsclaus
Author of Camel in Action:

View raw message