[ https://issues.apache.org/jira/browse/CAMEL-3240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982020#action_12982020 ]
Hadrian Zbarcea commented on CAMEL-3240: ---------------------------------------- Ben, think of the following scenario. You have 5 routes, you attempt shutdown. Two routes shutdown gracefully, the 3rd one times out. Leaving that 3rd route in a limbo state is not right, that's fairly clear, so what one could try is to start it again. Let alone the fact that even that is not guaranteed to succeed, it may not do any good to your application with the first two routes stopped already. > Graceful shutdown - Add support for give up if timeout triggered > ---------------------------------------------------------------- > > Key: CAMEL-3240 > URL: https://issues.apache.org/jira/browse/CAMEL-3240 > Project: Camel > Issue Type: Improvement > Components: camel-core > Reporter: Claus Ibsen > Assignee: Hadrian Zbarcea > Priority: Minor > Fix For: 2.6.0 > > Attachments: camel-core-stop-route-abortAfterTimeout.txt > > > Graceful shutdown will force shutting down routes if timeout triggeres. > We should add option to let end user control this. So Camel instead just > gives up. Then end user can take action, such as trying to shutdown again or > whatever. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.