12 Replies Latest reply on Mar 10, 2010 6:06 PM by Ross Nicholson

    ConsumerMaxRate on MDB not working

    Ross Nicholson Apprentice

      In hornetq-ra.rar/META-INF/ra.xml I have added the following property

       

            <config-property>
              <description>The consumer max rate</description>
              <config-property-name>ConsumerMaxRate</config-property-name>
              <config-property-type>java.lang.Integer</config-property-type>
              <config-property-value>1</config-property-value>
            </config-property>

       

      I have test MDB which simply prints the time at which the message was received. There are 10 messages consumed each second. Do I require other config parameters to get this to work? All I want to do is get only 1 message per second.

       

      Cheers,

       

      Ross