1 Reply Latest reply on Aug 18, 2008 10:11 AM by kaja78

    controlling MDB pool size

    zilbi

      Hi,

      am a previous user of weblogic 8.1.
      in weblogic 8.1, (that used ejb2) i use to control the pool size of my MDBs
      to do that i would add the part in bald below to the the specific ejb deployment descriptor (called weblogic-ejb-jar.xml)

      <weblogic-enterprise-bean>
       <ejb-name>PcUpdateMDB</ejb-name>
       <message-driven-descriptor>
       <pool>
       <max-beans-in-free-pool>500</max-beans-in-free-pool>
       <initial-beans-in-free-pool>10</initial-beans-in-free-pool>
       </pool>
       <destination-jndi-name>CtmPcUpdateQueue</destination-jndi-name>
       <connection-factory-jndi-name>imodeConnectionFactory</connection-factory-jndi-name>
       </message-driven-descriptor>
       <jndi-name>PcUpdateMDB</jndi-name>
      </weblogic-enterprise-bean>


      is there a way to do something similar in jboss 4.2 using annotations?
      looked for it and could not find it...

      your help is appreciated,
      zilbi