2 Replies Latest reply on Oct 23, 2005 12:34 AM by genman

    Expose "number of messages per second" to the MDB metrics

    genman


      RE:
      http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3898820

      I think the steps are to create a "RateStatistic" interface and implementation and have it returned by "MessageDrivenBeanStats". Unfortunately there's no "Rate" sort of statistic part of JSR77.

      Would somebody like to offer some advice?

        • 1. Re: Expose
          starksm64

          I would first look at extending the existing method invocation stats by incorporating the custom stats into the org.jboss.management.j2ee.MessageDrivenBeanMBean stats attribute. The associated stat object would have to extend the javax.management.j2ee.statistics.Stats.

          • 2. Re: Expose
            genman

            Thanks for the hint.

            Actually I'm not entirely sure for the JIRA issue if I'm going to add a "rate" to the MDB or at the JCA level. If the rate limiting plug-in is going to be at the JCA level, then it may not be logical to link it to statistics provided by the MDB.