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 AAF5080BE for ; Tue, 13 Sep 2011 13:37:33 +0000 (UTC) Received: (qmail 39518 invoked by uid 500); 13 Sep 2011 13:37:33 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 39489 invoked by uid 500); 13 Sep 2011 13:37:33 -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 39476 invoked by uid 99); 13 Sep 2011 13:37:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2011 13:37:32 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jasonwhaley@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; Tue, 13 Sep 2011 13:37:23 +0000 Received: by gxk22 with SMTP id 22so644355gxk.16 for ; Tue, 13 Sep 2011 06:37:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=VJRTkMaFN08g80qWN37yf2oASPU1DNomV2TjbH+X+oM=; b=OAt0V0gBfEPKVJSnylP48k0N2iK1x0j8h8LJRO7HjO4KzFVHiV/Aj1j3tiZ2NS0raV IYQboLtzdayKoGHLn5pF17MNjW5q+++86zBC02XS/LEpoEBWNM6hQjIG7RQJGvQuY4zF +ucJQN34b2Y4LNC8KS9L1/76K2kWM9PBJ/d7k= Received: by 10.231.21.26 with SMTP id h26mr9166525ibb.40.1315921021795; Tue, 13 Sep 2011 06:37:01 -0700 (PDT) Received: from [192.168.1.3] (c-24-8-30-23.hsd1.co.comcast.net [24.8.30.23]) by mx.google.com with ESMTPS id g16sm1277242ibs.8.2011.09.13.06.36.59 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 13 Sep 2011 06:37:00 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1244.3) Subject: Re: slow speed sending message From: Jason Whaley In-Reply-To: <1315872534215-3808922.post@n4.nabble.com> Date: Tue, 13 Sep 2011 07:36:58 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <2EA67263-A429-4A75-8019-77B36A31D0AB@gmail.com> References: <1315700440134-3804539.post@n4.nabble.com> <1315872534215-3808922.post@n4.nabble.com> To: users@activemq.apache.org X-Mailer: Apple Mail (2.1244.3) X-Virus-Checked: Checked by ClamAV on apache.org >=20 > Question - am I right in understanding that flow control will turn on > automtically when the rate goes over a certain level? Will it then = shut > off? See here for PFC: http://activemq.apache.org/producer-flow-control.html In short, you'll hit it when you exhaust either the memoryLimit for a = destination or the systemUsage limits for the entire broker. > Another idea-- I'm using CachingConnectionFactory with 100 sessions. = What > happens if I use more than those 100 sessions? I'm wondering if they = leak > somehow. (I use Spring's JMSTemplate, so I'd assume not, but it's a > thought). Any sessions created after you hit your maximum are created and disposed = of on demand and never hit the cache. =20=