[jboss-user] [JBoss Messaging] - MDB Throttling:

jnorris10 do-not-reply at jboss.com
Tue Jun 16 18:20:02 EDT 2009


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



More information about the jboss-user mailing list