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

Destination with wildcard may not have correct policy applied

    XMLWordPrintableJSON

    Details

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

      Description

      When a destination is created with a wildcard, it may not have the correct policy applied.

      For example, if there are two policies:

      <policyMap>
          <policyEntries>
               <policyEntry queue="test.queue.>" memoryLimit="20mb" />
               <policyEntry queue="test.queue.a" memoryLimit="5000000"  />
           </policyEntries>
      </policyMap>
      

      and if the queue test.queue.> is created, the policy for test.queue.a will be applied to that destination instead of the test.queue.> policy.

      Some work was done on this in AMQ-5972 and that seems to have fixed most of the issues, but there is this one edge case where we need to account for what happens if a policy matches a destination exactly.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cshannon Christopher L. Shannon
                Reporter:
                cshannon Christopher L. Shannon
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: