Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 65597 invoked from network); 5 Dec 2008 10:43:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Dec 2008 10:43:50 -0000 Received: (qmail 58725 invoked by uid 500); 5 Dec 2008 10:44:02 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 58339 invoked by uid 500); 5 Dec 2008 10:44:01 -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 58328 invoked by uid 99); 5 Dec 2008 10:44:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2008 02:44:01 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of james.strachan@gmail.com designates 64.233.170.190 as permitted sender) Received: from [64.233.170.190] (HELO rn-out-0910.google.com) (64.233.170.190) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2008 10:42:29 +0000 Received: by rn-out-0910.google.com with SMTP id j67so5063002rne.21 for ; Fri, 05 Dec 2008 02:43:07 -0800 (PST) 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=+7qjCYrPFt1GfrsuKLMPjbeqUiam2qLyFyYP8hIHsF4=; b=duveCGLlhseGCvd5cpq2l4iZ4LJQIK3t/dom039VaRAv9J/oarIV+TuEQYaZG7ug7F vi13Ur7Rmo7X+lkf3m9oJ5KShcPhGYoz6Wz5rMjlPluG+m/n6EBQP3/iiLnr1ICLZD3h u+4RxtK8g5+2wkJPJma1eznuW2GhGP3x27EVU= 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=sCLaAOIs9r/+1Vn5TfFTHTQRh7Ih4GnaK4j1ZtMmDXHICmvV+qbkRfdWYjKTPEHvXi dm7LKgBaAI8Xmf6IHI+a73R0vdQT0yWTdEpiFXDmqmzfFZtg8/e1SWyDVLx7iaAv8q2R A+9LH67ilDa8OCdrh7wiHGva4OoCM40W32h50= Received: by 10.150.155.13 with SMTP id c13mr1452337ybe.122.1228473786959; Fri, 05 Dec 2008 02:43:06 -0800 (PST) Received: by 10.151.119.3 with HTTP; Fri, 5 Dec 2008 02:43:06 -0800 (PST) Message-ID: Date: Fri, 5 Dec 2008 10:43:06 +0000 From: "James Strachan" To: users@activemq.apache.org Subject: Re: Load balancing problem In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20833487.post@talk.nabble.com> <20850053.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org 2008/12/5 Rob Davies : > > On 5 Dec 2008, at 09:03, zunrise wrote: > >> >> Isn't their anyone who can help me. The problem is as mentioned >> >> http://activemq.apache.org/i-do-not-receive-messages-in-my-second-consumer.html >> here >> "The solution to this problem is to configure the pre-fetch value to >> something smaller - such as 1, start the consumers together or publish the >> messages after the consumers have started." >> Again my solution have do balance the load also over allready existing >> consumers in the queue. Is it imposible or do I make something wrong. Need >> still help. >> >> Denis >> >> P.S.: Thank you James for your quick reply. >> >> -- >> View this message in context: >> http://www.nabble.com/Load-balancing-problem-tp20833487p20850053.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> > > The best solution is to set the prefetch size to 0 - so your consumers pull > messages from the broker. > I don't understand why that is a problem ? I'm not sure if NMS supports setting the prefetch value on the destination using the URI notation does it? -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://fusesource.com/