Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 66854 invoked from network); 10 May 2010 09:13:22 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 May 2010 09:13:22 -0000 Received: (qmail 56876 invoked by uid 500); 10 May 2010 09:13:22 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 56854 invoked by uid 500); 10 May 2010 09:13:22 -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 56846 invoked by uid 99); 10 May 2010 09:13:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 May 2010 09:13:21 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 May 2010 09:13:15 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1OBP2k-0005R2-Ch for users@activemq.apache.org; Mon, 10 May 2010 02:12:54 -0700 Message-ID: <28509225.post@talk.nabble.com> Date: Mon, 10 May 2010 02:12:54 -0700 (PDT) From: mar_kl To: users@activemq.apache.org Subject: Re: consumer receive no messages In-Reply-To: <28491378.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: markus.klehr@eml-d.de References: <28489987.post@talk.nabble.com> <28490214.post@talk.nabble.com> <28490817.post@talk.nabble.com> <28491378.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi Joe, you had the right idea, I set the prefetch queue to 1 (as I got rather long running jobs per message) and everything works fine. thanks a lot Markus Joe Fernandez wrote: > > Hi Markus, > > I think what may be happening is that the broker streams the default > prefetch limit worth of messages to the first consumer that connects. You > may want to look into lowering your prefetch limits and/or look into the > following properties > > consumersBeforeDispatchStarts > timeBeforeDispatchStarts > > http://activemq.apache.org/per-destination-policies.html > > Joe > > > mar_kl wrote: >> >> Hi Joe, >> >> it occurs when the consumers are started after the messages have been >> enqueued. >> and all settings are at the defaults. >> >> Markus >> >> >> Joe Fernandez wrote: >>> >>> When this occurs, do you fire up the consumers before or after the >>> messages have been queued up? >>> >>> Are you using the default prefetch? >>> >>> Joe >>> ActiveMQ Ref Guide - http://bit.ly/AMQRefGuide >>> >>> >>> mar_kl wrote: >>>> >>>> Hi, >>>> >>>> I'm using an ActiveMQ 5.3 broker embedded in geronimo 2.2. >>>> >>>> I got 4-10 consumers (ActiveMQ 5.3) running on the same machine >>>> subscribed to a message queue. >>>> The problem that I face is that messages are not dispatched to all >>>> consumers but only to two or even sometimes only to one. >>>> >>>> any clue what I missed? >>>> >>>> thanks >>>> >>> >>> >> >> > > -- View this message in context: http://old.nabble.com/consumer-receive-no-messages-tp28489987p28509225.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.