Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JMS on jboss consumer rate limit and producer rate limit  RSS feed

 
Luca Zitto
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Luca Zitto
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Doesn't anybody know?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!