[
https://issues.apache.org/jira/browse/AMQ-4584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Bish updated AMQ-4584:
------------------------------
Attachment: AMQ4584Patch.txt
Took a quick stab at it while waiting for other things to run.
> Allow configuration of a discarding dead letter strategy
> --------------------------------------------------------
>
> Key: AMQ-4584
> URL: https://issues.apache.org/jira/browse/AMQ-4584
> Project: ActiveMQ
> Issue Type: Improvement
> Components: Broker
> Affects Versions: 5.8.0
> Reporter: Gary Tully
> Priority: Minor
> Fix For: 5.9.0
>
> Attachments: AMQ4584Patch.txt
>
>
> If you don't wish to retain non delivered or expired persistent messages then
> it should be possible to easily disable the use of the dlq.
> the discarding plugin will purge it, but that is not ideal.
> Preferable is something like:
> {code}<destinationPolicy>
> <policyMap>
> <policyEntries>
> <policyEntry queue=">" deadLetterStrategy="discarding" />
> ...{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira