[jboss-user] [EJB 3.0] New message: "Re: Setting MDB Max Pool Size"

chinthaka udara do-not-reply at jboss.com
Tue Feb 2 02:37:35 EST 2010


User development,

A new message was posted in the thread "Setting MDB Max Pool Size":

http://community.jboss.org/message/523551#523551

Author  : chinthaka udara
Profile : http://community.jboss.org/people/chinthaka.udara@gmail.com

Message:
--------------------------------------------------------------
Thanks
 
now in jmx-console MaxPoolSize is show as 1. so that i can assure that only one MDB isntance is created here. which make it singleton
 
@Pool (value=PoolDefaults.POOL_IMPLEMENTATION_STRICTMAX,maxSize=1)
 
here you need to import
 
import org.jboss.ejb3.annotation.Pool;
import org.jboss.ejb3.annotation.defaults.PoolDefaults;
 
from jar --> jboss-ejb3-ext-api.jar

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/523551#523551




More information about the jboss-user mailing list