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

ASF subversion and git services commented on ARTEMIS-4537:
----------------------------------------------------------

Commit b075cd6fc08e5e69fc4b887ff3af070c43ae6d6a in activemq-artemis's branch 
refs/heads/main from Domenico Francesco Bruscino
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=b075cd6fc0 ]

ARTEMIS-4537 Fix merge of multiple address setting matches

Merge multiple address setting matches on a new instance to be idempotent.


> Address setting matches with wildcard are not idempotent
> --------------------------------------------------------
>
>                 Key: ARTEMIS-4537
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4537
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Domenico Francesco Bruscino
>            Assignee: Domenico Francesco Bruscino
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> When addresses match different multiple address settings with the same most 
> specific address setting the overlay is not idempotent, i.e. supposing to 
> define the following address settings:
> {code}
> addressSettings."foo.*".maxRedeliveryDelay=10000
> addressSettings."foo.0.#".maxExpiryDelay=20000
> addressSettings."foo.1.#".maxExpiryDelay=30000
> {code}
> Every address matching foo.* have maxExpiryDelay=-1 if it is created before 
> foo.0 and it have maxExpiryDelay=20000 if it is created after foo.0.
> Every address matching foo.* have maxExpiryDelay=-1 if it is created before 
> foo.1 and it have maxExpiryDelay=30000 if it is created after foo.1.
> The addresses foo.0 and foo.1 have maxExpiryDelay=20000 if foo.0 is created 
> before foo.1.
> The addresses foo.0 and foo.1 have maxExpiryDelay=30000 if foo.1 is created 
> before foo.0.



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

Reply via email to