Forums Register Login

JMS on jboss consumer rate limit and producer rate limit

+Pie Number of slices to send: Send
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!
+Pie Number of slices to send: Send
Doesn't anybody know?
Brace yourself while corporate america tries to sell us its things. Some day they will chill and use tiny ads.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1220 times.
Similar Threads
Happy Birthday JavaRanch!
multiple datasource
JMS look up for JBoss 3.2.3
JMS lookup in JBoss3.2.3
Cant get reference to Queue
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 05:45:10.