JBoss Community

Re: MDB Pool size configuration

created by jaabax in EJB3 - View the full discussion

I found that:

{code}

...

@MessageDriven(

...

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

@Pool(value = PoolDefaults.POOL_IMPLEMENTATION_THREADLOCAL, maxSize = 100, timeout = 10000)

...

{code}

have the same effect as:

{code}

...

@Pool(value = PoolDefaults.POOL_IMPLEMENTATION_STRICTMAX, maxSize = 100, timeout = 10000)

...

{code}

can somebody explain us with more details the differences between both approaches?

thanks in advance

Reply to this message by going to Community

Start a new discussion in EJB3 at Community