JBoss Community

Re: MDB Pool size configuration

created by Martín Urtasun in EJB3 - View the full discussion

Hi,

 

I'm using JBoss 5.1. This configuration has worked for me:

 

@ActivationConfigProperty(propertyName = "maxSession", propertyValue = "50")})
@Pool (value=PoolDefaults.POOL_IMPLEMENTATION_STRICTMAX,maxSize=50,timeout=20000)

@ActivationConfigProperty(propertyName = "maxSession", propertyValue = "50")})

@Pool (value=PoolDefaults.POOL_IMPLEMENTATION_STRICTMAX,maxSize=50,timeout=20000)

 

@PoolClass is an attribute for JBoss 4. In JBoss 5 it was replaced by @Pool.

 

Bye,

Reply to this message by going to Community

Start a new discussion in EJB3 at Community