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

Rob Godfrey commented on QPID-7153:
-----------------------------------

Good point on the MAX_VALUE calculation.  I did consider a third expiry 
behaviour "NEVER" which one could use for DLQs (rather than doing the hacky max 
value thing) but ultimately decided against it.  I'll update the patch to 
address the issue.

On the method naming I was thinking of "expire" as in the action of expiring a 
message rather than the state of the message, but expiresNow is probably less 
ambiguous.

> Allow expired messages to be sent to DLQ
> ----------------------------------------
>
>                 Key: QPID-7153
>                 URL: https://issues.apache.org/jira/browse/QPID-7153
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Broker-J
>            Reporter: Keith Wall
>            Priority: Major
>         Attachments: QPID-7153v2.diff
>
>
> Currently the Java Broker simply discards messages that expire (TTL). The 
> behaviour should be configurable and allow for expired messages to be 
> directed to the alternate exchange to allow for dead-lettering.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to