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

Policy entries not applied in correct order

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.12.0
    • 5.12.1, 5.13.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: