What is the best way to throttle MDB consumers?  

There is @Pool (eg: JBoss 5.1.x):


  | @Pool(value = PoolDefaults.POOL_IMPLEMENTATION_STRICTMAX, maxSize = n)
  | 

And, "maxSession":


  | @ActivationConfigProperty(propertyName = "maxSession", propertyValue = "n")
  | 

How are these two settings related?  Which setting is more portable (if any)?
(Incidentally, in JBoss 5.1.x, neither of these settings appear to limit the 
number of concurrent consumers for an MDB).

Also, is there any way to throttle the MDB consumers automatically based on CPU 
or IO activity and available resources?

What are the best practices here?



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238051#4238051

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238051
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to