[ 
https://issues.apache.org/jira/browse/CAMEL-3240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12981882#action_12981882
 ] 

Ben O'Day commented on CAMEL-3240:
----------------------------------

I think this change needs to be reverted from the trunk (sorry, I didn't think 
it would be considered until 2.7 and a few rounds of feedback/testing).  It 
seems that after aborting, though the route's isStarted() returns "true", it 
isn't accepting messages.  I believe I need to also revert the operations in 
ShutdownTask to restore the route to a usable state (restart the consumer, 
etc).  Anyways, I'm working on this now, but am concerned that what has been 
committed is complete...please revert until I can prepare a proper patch.

  

> 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, 
> camel-core-stop-route-giveup.txt, camel-core-stop-route-giveup.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.

Reply via email to