7 Replies Latest reply on Feb 4, 2013 8:26 AM by Henry Clout

    Use of wildcards leads to duplicate delivery for queues

    Henry Clout Newbie

      Hi all.


      I've set up the following:







      (a) subscribes to jms.queue.unix.generic

      (b) subscribes to jms.queue.unix.#


      What I was expecting (hoping!) would happen is that a message sent to jms.queue.unix.generic would be delivered to (a) or (b), however it seems that it's delivered to (a) and (b).  In effect, jms.queue.unix.# seems to operate as a separate queue that receives independent copies of the messages.


      Is this the expected behaviour?  If it is, do you know of another way to achieve what I'm trying to do, i.e. subscribe to a higher level of the hierachy without receiving duplicates?


      Many thanks,