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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content