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 8F6ECD113 for ; Thu, 3 Jan 2013 17:36:32 +0000 (UTC) Received: (qmail 19342 invoked by uid 500); 3 Jan 2013 17:36:32 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 19288 invoked by uid 500); 3 Jan 2013 17:36:32 -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 19280 invoked by uid 99); 3 Jan 2013 17:36:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2013 17:36:32 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of christian.posta@gmail.com designates 209.85.223.179 as permitted sender) Received: from [209.85.223.179] (HELO mail-ie0-f179.google.com) (209.85.223.179) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2013 17:36:26 +0000 Received: by mail-ie0-f179.google.com with SMTP id k14so18693770iea.10 for ; Thu, 03 Jan 2013 09:36:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=BOIkzwoWa9Yumsp5KBs/VfwMWBaUijAkA8Q3oTEtk7w=; b=Wi+2GkXAN0k9ZEvG9DSmtuzGdh0n8mKr0JgUd3wI4SQHZvOJAVnO51FdEEIDLvSeLt VqoopKJIvHD7aLPLwfZ9/vOR5n1hnBDIKYIVTcS56fORcRgquqyJwoiHnWxX++COt08h oI8ockNddcfxhIRtFzYq3apEt7Xro2lZxBg7L5EprJ6icYtn0vfofvPJ9xYz63Q1FZdO x0hFaQ9IlPddsJX8GVi3Jc4/lQ8EBGi2vU1MQKDM0b+DpLAyvb0ntIjpA2q+R8aMX6ee DqkOwouwxxuEQ/1A2GbupGTIq3deH2uaPB9LIlOIyOuYUp7Y8pSAaMxWGrw6suydQ/6p Z1aA== MIME-Version: 1.0 Received: by 10.50.0.146 with SMTP id 18mr11642740ige.60.1357234565515; Thu, 03 Jan 2013 09:36:05 -0800 (PST) Received: by 10.50.41.100 with HTTP; Thu, 3 Jan 2013 09:36:05 -0800 (PST) In-Reply-To: <1357230947312-4661272.post@n4.nabble.com> References: <1357165147980-4661241.post@n4.nabble.com> <1357223021123-4661262.post@n4.nabble.com> <1357225504358-4661264.post@n4.nabble.com> <1357230947312-4661272.post@n4.nabble.com> Date: Thu, 3 Jan 2013 10:36:05 -0700 Message-ID: Subject: Re: Bandwidth - Limit throughput by number of bytes per second From: Christian Posta To: "users@activemq.apache.org" Content-Type: multipart/alternative; boundary=e89a8f646e53278a8f04d265ccfe X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f646e53278a8f04d265ccfe Content-Type: text/plain; charset=ISO-8859-1 Yep, that's correct. It's a messages/second. Let me give it a deeper look when I get a second. Apollo uses HawtDispatch which uses transports that have an optional rate limiter like the one you're looking for, so I wonder if somethings similar can be done for ActiveMQ. On Thu, Jan 3, 2013 at 9:35 AM, billy wrote: > I'm currently using ActiveMQ-5.5.1. The > ConditionalNetworkBridgeFilterFactory was first implemented in 5.6.0 so I > would have to upgrade to get this factory. Second, the setRateLimit method > looks like the units are in MESSAGES/duration and not bytes/duration. > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Bandwidth-Limit-throughput-by-number-of-bytes-per-second-tp4661241p4661272.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta --e89a8f646e53278a8f04d265ccfe--