This content has been marked as final.
Show 1 reply
-
1. Re: Is there a way to limit how many messages can be placed
genman Mar 17, 2003 5:51 PM (in response to mgong)You can check the size (depth) of a queue from the MBean server, and throttle or prevent your application from adding more messages if the size is beyond a certain limit. Go to the JMX console (http://localhost:8080/jmx-console) and figure out the object name to reference.
Externally, you really have no option but to impose some sort of interface guidelines.