Thank you! The memoryLimit do not do much since all messages are persistant, but storeUsageHighWaterMark on the page you linked is exactly what I needed.
<destinationPolicy> <policyMap> <policyEntries> <policyEntry topic=">" producerFlowControl="true" memoryLimit="16 mb" /> <policyEntry queue=">" producerFlowControl="true" memoryLimit="16 mb" /> <policyEntry queue="ActiveMQ.DLQ" memoryLimit="8 mb" storeUsageHighWaterMark="20" /> </policyEntries> </policyMap> </destinationPolicy> Thanks again Matous -- View this message in context: http://activemq.2283324.n4.nabble.com/Maximum-size-of-DLQ-tp4671133p4671215.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.