Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 15087 invoked from network); 3 Sep 2008 16:55:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Sep 2008 16:55:27 -0000 Received: (qmail 67109 invoked by uid 500); 3 Sep 2008 16:55:26 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 66924 invoked by uid 500); 3 Sep 2008 16:55:25 -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 66901 invoked by uid 99); 3 Sep 2008 16:55:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2008 09:55:25 -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 james.strachan@gmail.com designates 64.233.184.228 as permitted sender) Received: from [64.233.184.228] (HELO wr-out-0506.google.com) (64.233.184.228) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2008 16:54:26 +0000 Received: by wr-out-0506.google.com with SMTP id 50so2529067wri.2 for ; Wed, 03 Sep 2008 09:54:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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=jDhNJLnW3icOfhPOReFLe3d90i6dKOSi8JKXafsxmww=; b=lWtjfZ0juY4/XItBjvNpKDuIiKzV/+5voI8lMZf4ZAlxrKMUKcg/SPlEfI6xBtcrUQ UgLI2znum26ecV9ychJFmgiC7cm+AiFOmEPlT2nnjGICl0JcizAYpCV04cRUIEM4P97e RXxTcwOCGl3EsFdBI4Mgkitex+EgANVrHTTp8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=I/DmRTpZ3+to32rbdRGzAgTA5tB7iNtQA+qArcwj0uupj6D026cd8Vxc45U4OplUo6 SnBwaVZpLAV07mSA4HuQjnZmyhe4/msx2iuQROMA/pK+iMnAJSl2g5tgV0/rjVW20Zk8 P7lqnzVBL7UY1gV6vRkL9vSkqm1+7wcBEZoDc= Received: by 10.90.115.6 with SMTP id n6mr11625408agc.30.1220460879538; Wed, 03 Sep 2008 09:54:39 -0700 (PDT) Received: by 10.90.117.12 with HTTP; Wed, 3 Sep 2008 09:54:39 -0700 (PDT) Message-ID: Date: Wed, 3 Sep 2008 17:54:39 +0100 From: "James Strachan" To: dev@activemq.apache.org Subject: Re: How to intercept the creation of ActiveMQConnections? In-Reply-To: <3a73c17c0809030946s2249bf9aie412d2a66b17c3f7@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7b3355cb0808200933o1ae8696cy39442fa5d9d974@mail.gmail.com> <7b3355cb0809021109k682b17bcud2d9338e63baccc4@mail.gmail.com> <7b3355cb0809021455r7ba29e59sec4d66a7d7655851@mail.gmail.com> <3a73c17c0809030138k5042f024yc4d9d692a76d9aff@mail.gmail.com> <3a73c17c0809030851pab229f8g4736d641b214f6d@mail.gmail.com> <3a73c17c0809030946s2249bf9aie412d2a66b17c3f7@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org 2008/9/3 Gary Tully : >> Though number of connections in no way reflects the cpu usage of a >> broker; >> > what are you thinking here? You could have 1000 connections doing very little, waiting for messages - but another broker could have one connection sending 5000 messages/second. A single connection can use up the entire CPU on a broker; so am not sure there's much merrit on associating connection count to cpu usage. Though having a maximum allowed connection count is fine though -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com