camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ext2" <>
Subject Does Gracefull shutdown Mbean support waiting time argument?
Date Wed, 13 Oct 2010 03:20:59 GMT
	Camel support graceful shutdown feature. When the camelContext is
stopped, camel will try to stop application gracefully until the time

	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

Thanks any suggestion

View raw message