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
[
http://community.jboss.org/message/589434#589434]
Start a new discussion in EJB3 at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]