[jboss-user] [EJB3] - Re: release ThreadlocalPool resources?

Carlo de Wolf do-not-reply at jboss.com
Thu Feb 24 04:06:17 EST 2011

Carlo de Wolf [http://community.jboss.org/people/wolfc] created the discussion

"Re: release ThreadlocalPool resources?"

To view the discussion, visit: http://community.jboss.org/message/589434#589434

This message in that last thread sums it up I think  http://community.jboss.org/message/364033#364033 http://community.jboss.org/message/364033#364033.

Remoting has a thread pool, so you can use ThreadlocalPool there.
> Robert Geisler wrote:
> why are there different default pool configurations for Session- and MessageDrivenBeans?
Interesting question. Looking at the MDB settings I see StrictMaxPool, but the amount of threads is probably also governed by the maxSessions activation property. The JBoss(MQ) resource adapter was bad in that it instantiated a thread per request. I think you would become dependable on the implementation details on the RA, so StrictMaxPool is the safe setting. You could try the ThreadlocalPool though.

Reply to this message by going to Community

Start a new discussion in EJB3 at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110224/99454e92/attachment.html 

More information about the jboss-user mailing list