Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 67643 invoked from network); 9 Oct 2007 11:55:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Oct 2007 11:55:17 -0000 Received: (qmail 46628 invoked by uid 500); 9 Oct 2007 11:55:04 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 46595 invoked by uid 500); 9 Oct 2007 11:55:04 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 46586 invoked by uid 99); 9 Oct 2007 11:55:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2007 04:55:04 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bruce.snyder@gmail.com designates 209.85.132.244 as permitted sender) Received: from [209.85.132.244] (HELO an-out-0708.google.com) (209.85.132.244) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2007 11:55:05 +0000 Received: by an-out-0708.google.com with SMTP id b8so148441ana for ; Tue, 09 Oct 2007 04:54:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=wVh4TeiVG7XjDaOWdFL1k0f4sFGWIFiysDHgaQHftP0=; b=GrdQ+AOLHRemMiANnfRxWjDR3EXgMpOw45LiBllJTMh8FXfokWf+w4VyMcBEWljlEzajKxly2yUQBPKeHraFimsUeBqaFPUh2yBj6wQu+rkmlLGdLvIJcbPnFkuxFIeM5Q6kD6gMXcK8OnMVSktzE2Wd+fhjQXyaybUXsOBLxj4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SzFZcCumY5RQhDBIc3tHWTloxan3GmV+jdxuQX/aQm0JXvZ0lfcO6JMscHptyKLzW+RSr1VnwxX8DzRBUFLh2llI7JCvqGjyCxqzXGquzIuUThMpkcbzAHa7+UvbFHE+EjyXfWpI1/iEpC/5cAlmkcin5OZsSvG6tpGtBVH3PtU= Received: by 10.142.76.4 with SMTP id y4mr2399045wfa.1191930883277; Tue, 09 Oct 2007 04:54:43 -0700 (PDT) Received: by 10.142.88.17 with HTTP; Tue, 9 Oct 2007 04:54:43 -0700 (PDT) Message-ID: <7b3355cb0710090454y12e31feei3f190532600c813@mail.gmail.com> Date: Tue, 9 Oct 2007 05:54:43 -0600 From: "Bruce Snyder" To: dev@activemq.apache.org Subject: Re: Shutdown hook in ActiveMQ In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7b3355cb0710090420j518e6f5erc0d44c1577ac28ed@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On 10/9/07, James Strachan wrote: > You could always just disable the use of the shutdown handler on the > BrokerServer > http://activemq.apache.org/maven/activemq-core/apidocs/org/apache/activemq/broker/BrokerService.html#setUseShutdownHook(boolean) > > or element > http://activemq.apache.org/maven/activemq-core/xsddoc/http___activemq.org_config_1.0/element/broker.html I don't think this is a good idea as it means that nothing gets cleanly unregistered and stopped. Bruce -- perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E