activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kchamber <>
Subject Re: [Spam: 5.0] How to maximize MDB throughput with ActiveMQ and JBoss?
Date Tue, 06 Mar 2007 19:07:16 GMT

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.

James.Strachan wrote:
> On 3/5/07, kchamber <> wrote:
>> I have ActiveMQ integrated in with JBoss according to the instructions
>> listed
>> on this website, and I am looking at how to maximize the throughput for
>> the
>> MDBs listening on a single non-persistent queue.
>> Specifically, I can have several hundred messages on the queue
>> consistently
>> (looking at the queueSize), but I only ever get about 10 MDBs allocated.
>> Various gyrations of changing the activation config settings for
>> maxSessions, maxMessagesPerSession yield very different results,
>> (including
>> messages never getting processed).
>> Is there any documentation that points to "how" MDBs get allocated?  I
>> have
>> tried changing "MaximumSize" values within various jboss XML config
>> thread
>> pools and also setting the max-pool-size on the ActiveMQ
>> QueueConstructor.
>> Instead of the guess-work, I'd like to know how to configure the number
>> of
>> MDBs that will get allocated for processing incoming requests on a
>> specific
>> queue.
> For MDB configuration, you'd best check JBoss documentation. I'm
> wondering if this is to do with prefetch
> Could you try putting say 10,000 messages on the queue first and
> seeing how things behave after steady state?
> -- 
> James
> -------

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message