[
https://issues.apache.org/jira/browse/AMQ-5972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14791816#comment-14791816
]
ASF subversion and git services commented on AMQ-5972:
------------------------------------------------------
Commit ee4672baaf190782c197b886f13aea566ba3253f in activemq's branch
refs/heads/master from [~dejanb]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=ee4672b ]
https://issues.apache.org/jira/browse/AMQ-5972 - wildcard policy entries not
applied in correct order
> Policy entries not applied in correct order
> -------------------------------------------
>
> Key: AMQ-5972
> URL: https://issues.apache.org/jira/browse/AMQ-5972
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.12.0
> Reporter: Dejan Bosanac
> Assignee: Dejan Bosanac
> Fix For: 5.13.0
>
>
> When we have multiple policy entries with wildcards that matches a single
> destination, we want the most specific one to be applied. In some cases at
> the moment, the wrong policy can be applied. For example
> {code}
> <policyMap>
> <policyEntries>
> <policyEntry queue="DomainA.DomainB.>" memoryLimit="20mb" />
> <policyEntry queue="DomainA.DomainB.*.*.Prioritised.Queue"
> memoryLimit="5000000" prioritizedMessages="true" />
> </policyEntries>
> </policyMap>{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)