Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 81398 invoked from network); 11 Oct 2007 17:27:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Oct 2007 17:27:57 -0000 Received: (qmail 34533 invoked by uid 500); 11 Oct 2007 17:27:17 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 34514 invoked by uid 500); 11 Oct 2007 17:27:17 -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 34504 invoked by uid 99); 11 Oct 2007 17:27:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2007 10:27:17 -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 (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2007 17:27:20 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Ig1oK-0004wY-Cc for users@activemq.apache.org; Thu, 11 Oct 2007 10:27:00 -0700 Message-ID: <13160710.post@talk.nabble.com> Date: Thu, 11 Oct 2007 10:27:00 -0700 (PDT) From: VJ22 To: users@activemq.apache.org Subject: Spring JMS Scalability - Newbie questions MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: Vijay.Nair@iflexsolutions.com X-Virus-Checked: Checked by ClamAV on apache.org Hi All, I have just implemented a messaging system using Spring JMS with Active MQ 4.1.1...I do have some questions...Would be appreciable if someone could answer them We are looking at processing close to 100000 transactions in a minute...Heres my settings -> 1 Message Listener Container with 300 concurrent consumers of a particular class configured via a MessageListenerAdapter -> Connection Factory is "org.apache.activemq.pool.PooledConnectionFact ory" My question is whether the connection factory usage is OK? I have read at many places that the connection factory usage should be ideally via JCA due to better resource management. Also, the PooledConnectionFactory should be ideally used for producing and not consuming. I do not want to use Jencks as we will be migrating to Spring 2.1 which has got the requisite JCA Features. Also is there any other alternative ? Secondly, I presume when I mention 300 consumers, 300 parallel threads are automatically spawned....is there a way to mention if each thread should automatically prefetch a set of messages and process them ? Also is 300 consumers a lot ? Any help would be highly appreciated Thanks...Vijay -- View this message in context: http://www.nabble.com/Spring-JMS-Scalability---Newbie-questions-tf4608817s2354.html#a13160710 Sent from the ActiveMQ - User mailing list archive at Nabble.com.