I can see how one can control the size of the global pool for all the stateless session beans.
However, I would like to be able to have a new pool that only applies to one type of stateless bean. This way, all my stateless beans but one would be pooled from the usual slsb-strict-max-pool
, and one bean would have its own pool.
Is it possible to do that in JBoss EAP 6.1?
Use
annotation on the EJB referencing your custom pool as defined in the standalone.xml :
[edit] without the annotation :
Using the pool namespace (urn:ejb-pool:1.0) in jboss-ejb3.xml (jboss specific ejb descriptor)
Finally, it seems you also have to configure the 'maxSession' activation configuration property accordingly in your MDB. Default maxSession value is 15. https://docs.jboss.org/ejb3/docs/tutorial/1.0.7/html/Message_Driven_Beans.html
E.g.