Hi

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





--
Willem
----------------------------------
Open Source Integration: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: http://twitter.com/willemjiang

Reply via email to