activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From VJ22 <Vijay.N...@iflexsolutions.com>
Subject Spring JMS Scalability - Newbie questions
Date Thu, 11 Oct 2007 17:27:00 GMT

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.


Mime
View raw message