Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 66166 invoked from network); 14 Jan 2011 21:02:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Jan 2011 21:02:13 -0000 Received: (qmail 7491 invoked by uid 500); 14 Jan 2011 21:02:13 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 7453 invoked by uid 500); 14 Jan 2011 21:02:13 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 7445 invoked by uid 500); 14 Jan 2011 21:02:13 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 7442 invoked by uid 99); 14 Jan 2011 21:02:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jan 2011 21:02:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jan 2011 21:02:11 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0EL1mAO020676 for ; Fri, 14 Jan 2011 21:01:50 GMT Message-ID: <7813609.376091295038908876.JavaMail.jira@thor> Date: Fri, 14 Jan 2011 16:01:48 -0500 (EST) From: "Ben O'Day (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Updated: (CAMEL-3240) Graceful shutdown - Add support for give up if timeout triggered MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CAMEL-3240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ben O'Day updated CAMEL-3240: ----------------------------- Attachment: camel-core-stop-route-abortAfterTimeout.txt Alright, here is another patch to make sure the route is usable after a shutdown is aborted. I modified the ShutdownTask.run() to handle the abort mode appropriately and updated the unit tests to resume using the route after the abort to insure that it still works. Please review... > 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.