[ 
https://issues.apache.org/jira/browse/AMQ-4584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary Tully updated AMQ-4584:
----------------------------
    Description: 
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}

  was:
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}


> 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)

Reply via email to