0 Replies Latest reply on Jul 22, 2012 6:14 AM by ftom2

    Need calrification regarding HornetQ <address-setting>

    ftom2 Newbie

      I'm using Jboss 7.1.1.final and I would like to define 2 different DLQ's, one for a certain queue and the other for all the rest of the queues.

      I found this configuration :


          <address-setting match="jms.queue.exampleQueue">











      </address-setting> </address-settings>

      The match attribute can be used to match a certain queue, I have a couple of questions regarding this configuration:

      1. If I define 2 address-setting, one with a wild card to match all and one that matches only one queue, does the one queue definition take precedence? Do i need to put it before the match all definition or it does not matter?
      2. In the example they match a queue jms.queue.exampleQueue, i have a queue defined as:
        <jms-queue name="MissionResult"> <entry name="queue/MissionResult"/> </jms-queue> 

        what should i put in the match attribute in order to match it?