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>
http://wiki.jboss.org/wiki/ConfigJBossMDB?action=e&windowstate=normal&mode=view
For EJB3 MDB edit the ejb3-interceptors-aop.xml file in deploy directory or may be you can use annotations.