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

Christopher L. Shannon closed AMQ-6944.
---------------------------------------
    Resolution: Invalid

By sending the message to the DLQ it is rejecting the message.  You can always 
disable the DLQ if you don't want to keep the messages.

> reject expired messages
> -----------------------
>
>                 Key: AMQ-6944
>                 URL: https://issues.apache.org/jira/browse/AMQ-6944
>             Project: ActiveMQ
>          Issue Type: Improvement
>            Reporter: Ilya Shipitsin
>            Priority: Minor
>
> we somehow encountered the issue (probably buggy client) when messages were 
> set to expire right after creation.
>  
> it looks like
> 1) message is accepted by queue
> 2) message is classified as "expired"
> 3) message goes to DLQ
>  
>  
> it does not make much sense to accept such messages. it seems to be better to 
> reject them (thus informing sender in more gently way)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to