[ 
https://issues.apache.org/jira/browse/ARTEMIS-3947?focusedWorklogId=802192&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-802192
 ]

ASF GitHub Bot logged work on ARTEMIS-3947:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 20/Aug/22 03:51
            Start Date: 20/Aug/22 03:51
    Worklog Time Spent: 10m 
      Work Description: asfgit closed pull request #4182: ARTEMIS-3947 fix 
merging for expiry address-settings
URL: https://github.com/apache/activemq-artemis/pull/4182




Issue Time Tracking
-------------------

            Worklog Id:     (was: 802192)
    Remaining Estimate: 0h
            Time Spent: 10m

> Expiry settings not merging properly
> ------------------------------------
>
>                 Key: ARTEMIS-3947
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3947
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Setting {{expiry-delay}} in {{<address-setting match="#">}} doesn't work if 
> we set another property aside from {{expiry-delay}} and don't set 
> {{expiry-delay}} in a specific match.
> *Test 1 - Fails*
> {code:xml}
>    <address-setting match="#">
>       <expiry-delay>40000</expiry-delay>
>    </address-setting>
>    <address-setting match="myAddress">      
>       <max-size-bytes>12428800</max-size-bytes>
>    </address-setting>{code}
> Result:  When I send a message to a queue on {{myAddress}} using the default 
> expiration time (0 meaning don't expire), the broker doesn't change the 
> expiration time to 40 seconds. *Messages never expire.*
> *Test 2 - OK*
> {code:xml}
>    <address-setting match="#">
>       <expiry-delay>40000</expiry-delay>
>    </address-setting>
>    <address-setting match="myAddress">
>       <expiry-delay>60000</expiry-delay>
>    </address-setting>{code}
> Result:  When I send a message to a queue on {{myAddress}} using the default 
> expiration time (0 meaning don't expire) the broker changes the expiration 
> time to 60 seconds.
> *Test 3 - OK*
> {code:xml}
>    <address-setting match="#">
>       <expiry-delay>40000</expiry-delay>
>   </address-setting>{code}
> Result:  When I send a message to a queue on {{myAddress}} using the default 
> expiration time (0 meaning don't expire) the broker changes the expiration 
> time to 40 seconds.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to