Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 83203 invoked from network); 14 Jul 2009 04:40:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Jul 2009 04:40:34 -0000 Received: (qmail 72434 invoked by uid 500); 14 Jul 2009 04:40:43 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 72322 invoked by uid 500); 14 Jul 2009 04:40:42 -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 72288 invoked by uid 99); 14 Jul 2009 04:40:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 04:40:40 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS 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; Tue, 14 Jul 2009 04:40:29 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MQZoG-0002j9-G9 for users@activemq.apache.org; Mon, 13 Jul 2009 21:40:08 -0700 Message-ID: <24473573.post@talk.nabble.com> Date: Mon, 13 Jul 2009 21:40:08 -0700 (PDT) From: kkarank To: users@activemq.apache.org Subject: Re: Unable to have multiple consumers on the same broker In-Reply-To: <24473538.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: karanka4@gmail.com References: <24467033.post@talk.nabble.com> <7b3355cb0907131150n5c340423oda58efbb79d178c0@mail.gmail.com> <24473246.post@talk.nabble.com> <7b3355cb0907132100i7808a229wc3a7c9e7236904e9@mail.gmail.com> <24473538.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Ok just played around with setting the prefetch size to 50 in the URL when using the connect command from STOMP - still the same problem I am struggling to understand though as to how the prefetch size could have anything to do with this. Reading through the docs - this setting takes care of how many messages are streamed to EACH consumer - my problem is completely irrelevant to this fact. I am only able to set ONE consumer per queue. kkarank wrote: > > No I did not set the prefetch size - just used the defaults that come with > the PHP Stomp client. - I will play around and come back > > Thanks :) > > bsnyder wrote: >> >> On Mon, Jul 13, 2009 at 9:53 PM, kkarank wrote: >>> >>> Thanks Bruce, >>> >>> I am connecting to the broker from PHP Stomp library and there is >>> nothing in >>> the examples you mention that talks about how to setup multiple >>> consumers >>> listening to the same broker port but on multiple queues? >> >> Ah, you didn't mention anything about using Stomp. Have you set the >> prefetch size? See the following for more info about prefetch and >> prefetch with Stomp: >> >> http://activemq.apache.org/what-is-the-prefetch-limit-for.html >> >> http://activemq.apache.org/stomp.html#Stomp-ActiveMQextensionstoStomp >> >> Bruce >> -- >> perl -e 'print >> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E> );' >> >> ActiveMQ in Action: http://bit.ly/2je6cQ >> Blog: http://bruceblog.org/ >> Twitter: http://twitter.com/brucesnyder >> >> > > -- View this message in context: http://www.nabble.com/Unable-to-have-multiple-consumers-on-the-same-broker-tp24467033p24473573.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.