I tested again with the storeUsage limit set to 32 mb (Please have a look at my previous reply to learn about the results I got with 2 mb as storeUsage). Not much difference. The producer is stopped on hitting the storeUsage limit.
And here's my relevant activemq configuration: >From this may I conclude that PFC is not applied based on per destination memory limit while using async sends? I previously thought the async producer will be stopped eventually once the system memoryUsage limit is breached, but the experiments have shown that the producer is stopped based on the storeUsage limit. I wish the PFC documentation were a bit clearer in explaining this behaviour. -- View this message in context: http://activemq.2283324.n4.nabble.com/What-is-the-correct-way-to-throttle-ActiveMQ-producers-who-send-persistent-messages-in-batches-to-a--tp4701204p4701359.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.