On 3/5/07, kchamber <[EMAIL PROTECTED]> 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

http://activemq.apache.org/what-is-the-prefetch-limit-for.html

Could you try putting say 10,000 messages on the queue first and
seeing how things behave after steady state?

--

James
-------
http://radio.weblogs.com/0112098/

Reply via email to