Hi guys, does anybody know how to set consumer rate limit and producer rate limit in a j2EE application using JMS? I can't find this info anywhere...
the application I need to modify has a configuration file with following info:
<mbean code="org.jboss.mq.server.jmx.Queue"
name="jboss.mq.destination:service=Queue,name=dlReceivingMessageRelay-mdb">
<depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
<depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
<attribute name="RedeliveryLimit">0</attribute>
<attribute name="ReceiversImpl">org.jboss.mq.server.ReceiversImplArrayList</attribute>
</mbean>
so I believe I simply need to add attributes like
<attribute name="ConsumerRateLimit">10</attribute>
<attribute name="ProducerRateLimit">10</attribute>
but I am not sure of the exact format... anyone knows?
Thanks!
the application I need to modify has a configuration file with following info:
<mbean code="org.jboss.mq.server.jmx.Queue"
name="jboss.mq.destination:service=Queue,name=dlReceivingMessageRelay-mdb">
<depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
<depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
<attribute name="RedeliveryLimit">0</attribute>
<attribute name="ReceiversImpl">org.jboss.mq.server.ReceiversImplArrayList</attribute>
</mbean>
so I believe I simply need to add attributes like
<attribute name="ConsumerRateLimit">10</attribute>
<attribute name="ProducerRateLimit">10</attribute>
but I am not sure of the exact format... anyone knows?
Thanks!