camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <>
Subject Re: Does Gracefull shutdown Mbean support waiting time argument?
Date Wed, 13 Oct 2010 08:27:15 GMT

Can you elaborate on the robust shutdown?

My experience is if you can't do the grace for shutdown with a certain 
time, the on flight exchanges maybe have no other change to be processed.

Do you mean Camel should store these on flight exchanges into a 
persistence storage, if the wait time is out.

On 10/13/10 11:20 AM, ext2 wrote:
> Hi:
> 	Camel support graceful shutdown feature. When the camelContext is
> stopped, camel will try to stop application gracefully until the time
> expired;
> 	Some-times the system manager  may required to try to stop the
> application , and if the application cannot be stopped in time, the system
> manager will have another chance to decide to shutdown the application
> robustly or not;
> 	That's to say , does the camel graceful shutdown strategy support
> such feature as following?
> 	boolean stop(Boolean robust, int waitingTime);
> 	if ${robust} == false, camel will try to stop application in
> ${waitingtime) gracefully. if ${waitingTime) expired, camel will not stop
> application robustly.
> 	If ${robust} == true, camel will try to stop application in
> ${waitingTime), if ${waitingTime)expired, camel will shutdown application
> robustly;
> Thanks any suggestion

Open Source Integration:
Blog: (English)

View raw message