users@glassfish.java.net

Re: Anyway to customize thread pool for MDBs consuming from a JMS Queue?

From: <glassfish_at_javadesktop.org>
Date: Mon, 12 May 2008 03:23:11 PDT

You can do all of this, it's documented in the application deployment guide :
http://docs.sun.com/app/docs/coll/1343.5

To specify a separate thread pool, create it via the admin console or asadmin, then use the <use-thread-pool-id> tag in the sun-ejb-jar.xml that you should include with your ejb jar.

If all you want to do is to limit the # threads that will be used by the bean then use the <max-pool-size> sub-element of the <bean-pool> tag, also in sun-ejb-xml
[Message sent by forum member 'eduardp' (eduardp)]

http://forums.java.net/jive/thread.jspa?messageID=273758