Do policyEntry have an inheritance relationship?
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.