-
Feature Request
-
Resolution: Obsolete
-
Major
-
JBossAS-5.0.0.Beta1
-
None
It would be nice to have a configuration key that would limit the rate of message processing of an MDB.
In cluster environment, or for processing situations that are limited by contract (service level agreement, etc.), this feature would be useful to provide an upper bound for processing.
This could be accomplished by measuring the number of messages per second for the last N seconds. (I suggest 5 or 10 by default.) If the rate is exceeded, the MDB processing "sleeps" an appropriate amount. There are probably better algorithms than this which can be discussed on the forums.
The telemetry information, in general, would be useful for seeing how well an MDB is performing.