Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 16303 invoked from network); 25 Mar 2009 09:03:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Mar 2009 09:03:25 -0000 Received: (qmail 64573 invoked by uid 500); 25 Mar 2009 09:03:24 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 64518 invoked by uid 500); 25 Mar 2009 09:03:24 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 64507 invoked by uid 99); 25 Mar 2009 09:03:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Mar 2009 09:03:24 +0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of james.strachan@gmail.com designates 209.85.220.177 as permitted sender) Received: from [209.85.220.177] (HELO mail-fx0-f177.google.com) (209.85.220.177) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Mar 2009 09:03:15 +0000 Received: by fxm25 with SMTP id 25so2582604fxm.20 for ; Wed, 25 Mar 2009 02:02:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :received:message-id:subject:from:to:content-type :content-transfer-encoding; bh=5pfyc8Qz9DwmzBRBRWty/BO6krlV81G6V5n+phAQ5CA=; b=BoDI6QHzWtNkib0R8HiBIV6BNMhu8ZUft7omLNxfVkTrAXZI9zIUxjW/S7vAfavsgP tZ3WX+nbHAOWMdaAjOk/tjVd0W//qfbqpK0rf1TYqoAMXHyWP2VLlkXr6qsqfWN0d0uR 0uimmFmvSKCYBgDJ0ZsRHSr2wXbcUKjyBW288= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=N06QHT+vc8KMOrhQTOb+pRLU9RmR5EmpFDGAapfogp3FDTxALawnGiQg/SgYXAGcXk 0DOCyMxYLAG0yVjhTZDA6RCblQIK4FQPCAmK5KEPTIhMJd/TGK5mMcs8+7AEpeHhhqe3 mVM/n9rUjXxSZB7/7WVI660BnFikGTYSKIqt8= MIME-Version: 1.0 In-Reply-To: <5380c69c0903242208o6922e1cj4280d4527a901e4d@mail.gmail.com> References: <22202167.post@talk.nabble.com> <22500700.post@talk.nabble.com> <5380c69c0903132320m7546444bm6a3d4c4077557f2c@mail.gmail.com> <22537092.post@talk.nabble.com> <22538055.post@talk.nabble.com> <5380c69c0903160623r7ecdfc28lde28362e70386620@mail.gmail.com> <22539534.post@talk.nabble.com> <5380c69c0903160835xaec293dkae61016480602330@mail.gmail.com> <22681944.post@talk.nabble.com> <5380c69c0903242208o6922e1cj4280d4527a901e4d@mail.gmail.com> Date: Wed, 25 Mar 2009 09:02:39 +0000 Received: by 10.223.110.3 with SMTP id l3mr7939203fap.48.1237971774365; Wed, 25 Mar 2009 02:02:54 -0700 (PDT) Message-ID: Subject: Re: Delayer: "Transport disposed" at JVM-Shutdown From: James Strachan To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org We maybe need to introduce some clean shutdown mechanism into consumers; so we can tell all the consumers we're about to shutdown; then they can gracefully stop processing the current route's message - then we actually stop the consumers (then the endpoints & components etc). Stopping routes midway through (eg cancelling timers) could lead to other kinds of warning messages. I guess the downside of this could make shutdown take a while to complete - also if routes invoke other routes you still could have issues where one route wants to send to another route which is now closed. So its always gonna be pretty hard to shut down Camel cleanly without any error messages at all. Maybe we just hide error messages once shutdown starts? :) On 25/03/2009, Claus Ibsen wrote: > On Tue, Mar 24, 2009 at 3:42 PM, Markus Reil wrote: >> >> Hi, >> >> thanks for your help. >> But I am still experiencing the same problem. The sleep does not get >> interrupted (2.0-M1). >> Do you have any idea why this happens? Let me know if you need more >> information. > Can you show the complete route? And point out where the message is > when you shutdown. > > >> >> Thanks, >> Markus >> -- >> View this message in context: >> http://www.nabble.com/Delayer%3A-%22Transport-disposed%22-at-JVM-Shutdown-tp22202167p22681944.html >> Sent from the Camel - Users (activemq) mailing list archive at Nabble.com. >> >> > > > > -- > Claus Ibsen > Apache Camel Committer > > Open Source Integration: http://fusesource.com > Blog: http://davsclaus.blogspot.com/ > -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://fusesource.com/