[jboss-user] [EJB 3.0] - controlling MDB pool size

zilbi do-not-reply at jboss.com
Wed Aug 13 13:29:39 EDT 2008


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,

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170389#4170389

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170389

More information about the jboss-user mailing list