Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 59312 invoked from network); 30 Jul 2010 07:41:26 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Jul 2010 07:41:26 -0000 Received: (qmail 14655 invoked by uid 500); 30 Jul 2010 07:41:26 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 14529 invoked by uid 500); 30 Jul 2010 07:41:24 -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 14521 invoked by uid 99); 30 Jul 2010 07:41:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jul 2010 07:41:23 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chubrilo@gmail.com designates 209.85.161.171 as permitted sender) Received: from [209.85.161.171] (HELO mail-gx0-f171.google.com) (209.85.161.171) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jul 2010 07:41:19 +0000 Received: by gxk6 with SMTP id 6so746938gxk.2 for ; Fri, 30 Jul 2010 00:40:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=Hx2oeSrd2P9TwshkY12XB4oLfCaZhjIe4S2Fx6ASK3c=; b=FQHWu2NsVMZNziN3ya3wfqpWZObYcF4gTAeCxwJAt+EEDCUx0esILgK5MedGpWD/JD FIDZkHn616BAxcG13YMBoKJTjOUti7oM3NwKbihDK2kZ1XFS0m+2J+nG0RTorhB71uuU ycxtIwhhG5B5xLW344CCFpos7qEQQ/3efi+nA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=HKg8FtJ/LaKQ5vr6c3MXi86pMZxOT/buyhXMcrChj289h07B/n51XIjQZzGMyhvkTW e40eeuKltge5aCxcLL8u8I0MtNkuBIdY4azLlHqKygQB9HJh0cJm8wJ/qlAWxbikF4Rn o0iJd4SrPds0yNeXouILNaDPBgO7HSevM/mTo= MIME-Version: 1.0 Received: by 10.101.193.5 with SMTP id v5mr1610894anp.201.1280475655874; Fri, 30 Jul 2010 00:40:55 -0700 (PDT) Sender: chubrilo@gmail.com Received: by 10.42.6.194 with HTTP; Fri, 30 Jul 2010 00:40:55 -0700 (PDT) In-Reply-To: <29298655.post@talk.nabble.com> References: <29298655.post@talk.nabble.com> Date: Fri, 30 Jul 2010 09:40:55 +0200 X-Google-Sender-Auth: 67SLyy4yfVFP4OozKG1qeb3W7Oc Message-ID: Subject: Re: Throttling mechanism/parameter on a broker From: Dejan Bosanac To: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 Hi, you can always use small prefetch limit (http://activemq.apache.org/what-is-the-prefetch-limit-for.html) to throttle IO. You can also use synchronous consumers (via receive() calls) to get the next message exactly when you want it. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Thu, Jul 29, 2010 at 7:09 PM, Jai_M wrote: > > We are planning a setup where there are network of brokers. The managing > application has a broker and the managed entities all have one broker. All > the managed entities pump messages on a queue. > > In this scenario when the application goes down for sometime and resumes it > will have a lot of messages to consume from all the managed entities. > My questions is, is there a setting/parameter to specify on the managed > broker so that it throttles the messages to be sent at a given rate or pump > only x number of messages per minute ? The idea is not to choke the CPU, I/O > usage of the managed entities when they attempt to pump all the queued > messages. > -- > View this message in context: http://old.nabble.com/Throttling-mechanism-parameter-on-a-broker-tp29298655p29298655.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > >