You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Martin Lichtin (JIRA)" <ji...@apache.org> on 2015/08/12 11:53:45 UTC

[jira] [Commented] (AMQ-4584) Allow configuration of a discarding dead letter strategy

    [ https://issues.apache.org/jira/browse/AMQ-4584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14693239#comment-14693239 ] 

Martin Lichtin commented on AMQ-4584:
-------------------------------------

Would be great to document it on page http://activemq.apache.org/message-redelivery-and-dlq-handling.html
It currently only talks about the discarding plugin.

> 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
>            Assignee: Timothy Bish
>            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/></deadLetterStrategy>
>     ...{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)