Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 36964 invoked from network); 8 Mar 2007 07:01:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Mar 2007 07:01:14 -0000 Received: (qmail 37453 invoked by uid 500); 8 Mar 2007 07:01:22 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 37436 invoked by uid 500); 8 Mar 2007 07:01:22 -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 37427 invoked by uid 99); 8 Mar 2007 07:01:22 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2007 23:01:22 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of james.strachan@gmail.com designates 64.233.182.188 as permitted sender) Received: from [64.233.182.188] (HELO nf-out-0910.google.com) (64.233.182.188) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2007 23:01:12 -0800 Received: by nf-out-0910.google.com with SMTP id y38so575228nfb for ; Wed, 07 Mar 2007 23:00:51 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Wq0tzAhqmFxX3uFRyt1TY6JCz+i4DI07N6PcSk2FSJ7IpMbpLGhAY9ynwd9e2t1dMX/Tk3r4vJ4yRT4A4ttN5uYysZAw7oyLigup8FCUNkgLlDupq2WkEvbSoo+iaD3dysoYJBOHq72pSOioiOS78zSJI0F7gmddbVZXVCDG6GY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FW/dDI2S4BjuSo77lVJevss8OF55PBnljZofi8B0kCq32xPWlWfawHEmIc1r6EpCSecQ9Z9AvlDVkmEDbqx37ThWyjsKfQhfIe/yPdPeoEnnzNstB7uXJxPyroVMTYlKIQrk0bTd5PhaJ7Kug7bH0/XvcFysT7TRCAghSsNOvKs= Received: by 10.78.100.1 with SMTP id x1mr6773hub.1173337251148; Wed, 07 Mar 2007 23:00:51 -0800 (PST) Received: by 10.78.155.11 with HTTP; Wed, 7 Mar 2007 23:00:51 -0800 (PST) Message-ID: Date: Thu, 8 Mar 2007 07:00:51 +0000 From: "James Strachan" To: users@activemq.apache.org Subject: Re: [Spam: 5.0] How to maximize MDB throughput with ActiveMQ and JBoss? In-Reply-To: <9338841.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9321759.post@talk.nabble.com> <9338841.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org On 3/6/07, kchamber wrote: > > Thanks for suggestion. Although the prefetch did not do anything > (noticeable) in my case. I did discover that for EJB3.0 -- which is what I > am doing, that there is a setting in the ejb3-interceptors-aop.xml which in > combination of some maxSessions, I was able to get some more MDBs being > allocated to the pool. Search for PoolClass in the aop xml file. > > Wish there was some documentation that clearly defined the relationship of > all of these maxXXXX settings to get maximum throughput. Here you go... http://activemq.apache.org/activation-spec-properties.html So basically set maxSessions high; also the bigger maxMessagesPerSessions the better, though be aware that a high value of maxMessagesPerSessions (which acts like prefetch) will mean if you don't have maxMessagesPerSessions * maxSessions available you might starve some sessions. -- James ------- http://radio.weblogs.com/0112098/