Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-2325

Add and implement an configuration key to control the processing rate of messages in an MDB

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Obsolete
    • Icon: Major Major
    • No Release
    • JBossAS-5.0.0.Beta1
    • EJB2
    • 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.

              genman_jira Elias Ross (Inactive)
              genman_jira Elias Ross (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: