activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: How to maximize MDB throughput with ActiveMQ and JBoss?
Date Tue, 06 Mar 2007 09:45:08 GMT
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?



View raw message