Well, by default the DLQ is ActiveMQ.DLQ so you would have to set a destination policy.
http://activemq.apache.org/per-destination-policies.html If you change the name of the DLQ using different DLQ strategies, you just need to use the respective name in your destination policy. For example: <policyEntry queue="ActiveMQ.DLQ" memoryLimit="10m"> On Wed, Sep 4, 2013 at 6:42 AM, matousvoldrich <mat...@voldrich.net> wrote: > Thanks for answer! > > How can I set memory limit on DLQ? And will this memory limit also affect > persistent messages? We are routing only persistent messages. > > Thanks > Matous > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Maximum-size-of-DLQ-tp4671133p4671158.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta