Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-5972

Policy entries not applied in correct order

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.12.0
    • Fix Version/s: 5.12.1, 5.13.0
    • Component/s: None
    • Labels:
      None

      Description

      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

           <policyMap>
             <policyEntries>
               <policyEntry queue="DomainA.DomainB.>" memoryLimit="20mb" />
               <policyEntry queue="DomainA.DomainB.*.*.Prioritised.Queue" memoryLimit="5000000" prioritizedMessages="true" />
             </policyEntries>
           </policyMap>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dejanb Dejan Bosanac
                Reporter:
                dejanb Dejan Bosanac
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: