You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/04/23 21:58:00 UTC
[jira] [Commented] (ARTEMIS-2726) Implement min/max expiry-delay
[ https://issues.apache.org/jira/browse/ARTEMIS-2726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17090964#comment-17090964 ]
ASF subversion and git services commented on ARTEMIS-2726:
----------------------------------------------------------
Commit 4b97e0689092c278c2570a67b9a0a657037e56b9 in activemq-artemis's branch refs/heads/master from Justin Bertram
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=4b97e06 ]
ARTEMIS-2726 implement min/max expiry-delay
> Implement min/max expiry-delay
> ------------------------------
>
> Key: ARTEMIS-2726
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2726
> Project: ActiveMQ Artemis
> Issue Type: New Feature
> Affects Versions: 2.12.0
> Reporter: Justin Bertram
> Assignee: Justin Bertram
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> At present, the {{address-setting}} {{expiry-delay}} allows setting an expiration on a message if one is not already set. However, being able to enforce a _range_ would be useful.
> Example:
> {code:xml}
> <address-setting match="myAddress">
> <min-expiry-delay>10</min-expiry-delay>
> <max-expiry-delay>100</max-expiry-delay>
> </address-setting>
> {code}
> Semantics could be as follows:
> * Messages _without_ an expiration will be set to {{max-expiry-delay}}. If {{max-expiry-delay}} is not defined then the message will be set to {{min-expiry-delay}}. If {{min-expiry-delay}} is not defined then the message will not be changed.
> * Messages with an expiration _above_ {{max-expiry-delay}} will be set to {{max-expiry-delay}}
> * Messages with an expiration _below_ {{min-expiry-delay}} will be set to {{min-expiry-delay}}
> * Messages with an expiration _within_ {{min-expiry-delay}} and {{max-expiry-delay}} range will not be changed
> * Any value set for {{expiry-delay}} other than the default (i.e. {{-1}}) will override the aforementioned min/max settings.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)