Issue Details (XML | Word | Printable)

Key: MULE-3688
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Andrew Perepelytsya
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Mule

Graceful/Forceful shutdown with timeouts

Created: 22/Sep/08 11:52 AM   Updated: 15/Nov/08 11:20 AM
Component/s: Core: (other), Core: API
Affects Version/s: None
Fix Version/s: 2.x Product Backlog

Time Tracking:
Not Specified

Labels:
User impact: High


 Description  « Hide
This is the collective item for the subj, may result in a number of linked issues/sub-tasks. Story:
  • There should be a forcedShutdown() API call or the like, exposed publicly (e.g. up to a JMX operation). It should actually do the right job, i.e. terminate no matter what within a timeframe.
  • Graceful shutdown should let the in-flight queues to empty before proceeding
  • There should be overloaded version of the graceful shutdown call accepting an additional timeout parameter
  • On graceful shutdown timeout, call the forced shutdown method. This could be implemented, e.g. by wrapping a graceful shutdown into a Runnable with a watchdog, and forcing the shutdown on expiry.


 All   Comments   Work Log   Change History   Transitions   FishEye      Sort Order: Ascending order - Click to sort in descending order
Ross Mason added a comment - 15/Nov/08 11:20 AM
Dan F, How far off are we from being able to do this?