That's an interesting requirement. The memory usage limit is there to help ensure the broker's resources are not exhausted.
Is the end intent the same in using a message count? -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-limit-queue-depth-by-msgs-tp4689633p4689670.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.