You can set MaxSession property on the MDB annotation:
@ActivationConfigProperty(propertyName = "maxSession", propertyValue = "30")
The doc is not up to date on these properties but this should work
Jeff is correct, however this will only make a difference to throughput if the MDB pool size is at least the same size. Not sure how to configure this, it is in the JBoss docs somewhere.
We have set the MDB MaxPoolSize JMX attribute inside JBoss to 50.
Does this means that even if I set the number of consumers for any given queue using the @ActivationConfigProperty annotation inside MDB to say 60, only 50 instances of an MDB will work concurrently?
What I am trying to understand what exactly would be my effective throughput?
1 of 1 people found this helpful
yes thats correct.
Ok so the effective throughput would be 50.