Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 14937 invoked from network); 21 Apr 2006 19:38:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Apr 2006 19:38:02 -0000 Received: (qmail 98843 invoked by uid 500); 21 Apr 2006 19:38:02 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 98784 invoked by uid 500); 21 Apr 2006 19:38:01 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 98775 invoked by uid 99); 21 Apr 2006 19:38:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Apr 2006 12:38:01 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Apr 2006 12:38:00 -0700 Received: from localhost ([127.0.0.1] helo=talk.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1FX1Rk-00024z-0n for activemq-dev@geronimo.apache.org; Fri, 21 Apr 2006 12:37:40 -0700 Message-ID: <4032665.post@talk.nabble.com> Date: Fri, 21 Apr 2006 12:23:49 -0700 (PDT) From: sgt_ty To: activemq-dev@geronimo.apache.org Subject: pooling message driven pojo's thru spring MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-Sender: scott_tyriver@mgic.com X-Nabble-From: sgt_ty X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello, I am looking for a way allow for a pool of MessageDriven pojo's to act on a queue. I am porting over code that allowed for a thread pool to read from a queue and am looking to do similar behavior with ActiveMQ. Would I simply have to set maxMessagesPerSession and/or maxMessagesPerBatch. Below is an example of our spring configuration? So in my example below would this mean that there is a pool of 5 (MDP's) that will read from this queue? Also could you explain the difference between maxMessagesPerSession and maxMessagesPerBatch. Is there another site that documents the ActiveMQ API in greater detail than the online javadoc? Thanks .... -- View this message in context: http://www.nabble.com/pooling-message-driven-pojo%27s-thru-spring-t1488572.html#a4032665 Sent from the ActiveMQ - Dev forum at Nabble.com.