I am using Jboss 7.1.1.final, and I would like to define two different DLQs, one for a specific queue and the other for the rest of the other queues.
I found this configuration:
<address-settings> <address-setting match="jms.queue.exampleQueue"> <dead-letter-address>jms.queue.deadLetterQueue</dead-letter-address> <max-delivery-attempts>3</max-delivery-attempts> <redelivery-delay>5000</redelivery-delay> <expiry-address>jms.queue.expiryQueue</expiry-address> <last-value-queue>true</last-value-queue> <max-size-bytes>100000</max-size-bytes> <page-size-bytes>20000</page-size-bytes> <redistribution-delay>0</redistribution-delay> <send-to-dla-on-no-route>true</send-to-dla-on-no-route> <address-full-policy>PAGE</address-full-policy> </address-setting> </address-settings>
The compliance attribute can be used to match a specific queue, I have a few questions regarding this configuration:
- If I define 2
address-setting , one with a wild card to match all and one that matches only one queue, does one queue definition take precedence? Should I put all the definitions before the match or does it not matter? In the example, they correspond to the jms.queue.exampleQueue queue, I have a queue defined as:
<jms-queue name="MissionResult"> <entry name="queue/MissionResult"/> </jms-queue>
What should I add to the match attribute to match it?
source share