Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-1136

improper effective policy configuration when using destination wildcards

XMLWordPrintable

    • Hide

      Use unit test provided in ENTMQ-1136-Test.tgz. Simply run mvn test

      Show
      Use unit test provided in ENTMQ-1136 -Test.tgz. Simply run mvn test

      Consider a broker using this policyEntry configuration:| <policyMap>|

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

      Now a queue named "DomainA.DomainB.TestMeA.TestMeB.Prioritized.Queue" gets created. One would expect it receives the configuration of the second policyEntry definition. Instead it gets configured for the first policyEntry.
      The more specific policy configuration should take effect.

              dejanbosanac Dejan Bosanac
              rhn-support-tmielke Torsten Mielke
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: