7 Replies Latest reply on Mar 12, 2008 11:09 AM by Karel Hübl

    MDB pool configuration & EJB3

    J-C jc Apprentice

      With JBoss 4.0.3 with EJB3, I try to limit the number of concurrent threads using an MDB. The following jboss.xml does not work. Is there any new feature with EJB3 ?


      <jboss>
       <enterprise-beans>
       <message-driven>
       <ejb-name>sample.MDB</ejb-name>
       <configuration-name>MyConfig2</configuration-name>
       </message-driven>
       </enterprise-beans>
       <container-configuration extends="Standard Message Driven Bean">
       <container-name>MyConfig2</container-name>
      <container-pool-conf>
       <MinimumSize>1</MinimumSize>
       <MaximumSize>5</MaximumSize>
       <strictMaximumSize>true</strictMaximumSize>
       <strictTimeout>10000</strictTimeout>
       </container-pool-conf>
       </container-configuration>
      </jboss>