Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8135D98D3 for ; Tue, 11 Oct 2011 15:55:58 +0000 (UTC) Received: (qmail 76860 invoked by uid 500); 11 Oct 2011 15:55:58 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 76836 invoked by uid 500); 11 Oct 2011 15:55:58 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 76828 invoked by uid 99); 11 Oct 2011 15:55:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Oct 2011 15:55:57 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.26 is neither permitted nor denied by domain of peter.varga@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Oct 2011 15:55:51 +0000 Received: from joe.nabble.com ([192.168.236.139]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RDefy-0002Kp-Kk for users@activemq.apache.org; Tue, 11 Oct 2011 08:55:30 -0700 Date: Tue, 11 Oct 2011 08:55:30 -0700 (PDT) From: peterv To: users@activemq.apache.org Message-ID: <1318348530622-3894938.post@n4.nabble.com> In-Reply-To: <2588DCEB-FAB9-4C07-AFE2-C31512CB48C5@fusesource.com> References: <1318257800475-3890489.post@n4.nabble.com> <2588DCEB-FAB9-4C07-AFE2-C31512CB48C5@fusesource.com> Subject: Re: limit to number of consumers registered MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Thanks So I've actually done this - I create 150 consumers up front - but I'm finding I'm having the same problem as when I was dynamically creating additional consumers. At one point I get into a situation where I have only 1 out of 150 consumers processing a message, yet there are hundreds of messages in the queue. My producer will send 5000 messages to the queue, and I can see that each of my 150 consumers processes between 15-30 messages according to DequeueCounter and DispatchedCounter in JMX once all the messages get processed, but there are periods of time when very few consumers are actually processing a message. What would cause this?! -- View this message in context: http://activemq.2283324.n4.nabble.com/limit-to-number-of-consumers-registered-tp3890489p3894938.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.