Do policyEntry have an inheritance relationship?

Solution Unverified - Updated -

Issue

  • Assuming I have the following policies in my activeemq.xml:

<destinationPolicy> <policyMap> <policyEntries> <policyEntry queue=">" producerFlowControl="true" memoryLimit="1mb"> <deadLetterStrategy> <individualDeadLetterStrategy queuePrefix="DLQ."/> </deadLetterStrategy> </policyEntry> <policyEntry queue="TEST.>" producerFlowControl="true" memoryLimit="2mb"> </policyEntry> </policyEntries> </policyMap> </destinationPolicy>

How does policies supersede each other? Will a queue named TEST.MY_QUEUE have a memory limit of 2 mb and an individualDeadLetterStrategy (with the queue prefix 'DLQ.')?

Environment

  • Red Hat JBoss A-MQ
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.