How to set the default EJB pool configuration in JBoss EAP 6
Issue
- We are migrating from JBoss EAP 5 to JBoss EAP 6, in JBoss EAP 5, we configured the Stateless EJB pool defaults in the $JBOSS_HOME/server/$PROFILE/deploy/ejb3-interceptors-aop.xml as shown below. How do we configure the default EJB pool in JBoss EAP 6 for stateless session beans?
<domain name="Stateless Bean" extends="Intercepted Bean" inheritBindings="true">
...
<annotation expr="class(*) AND !class(@org.jboss.ejb3.annotation.Pool)">
@org.jboss.ejb3.annotation.Pool (value="ThreadlocalPool", maxSize=30, timeout=10000)
</annotation>
</domain>
- How to limit concurrent JMS MDBs from executing
Environment
- JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.