Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-9161

Queue Filter does not work when FQQN name is used to send messages

XMLWordPrintable

    • Moderate

      • Define address like:
           <address name="demoQueue">
              <anycast>
                 <queue name="demoQueue">
                    <filter string="Destination='demo'"/>
                 </queue>
              </anycast>
      • Send messages using producer CLI and destination name.
        ./artemis producer --destination demoQueue
      • Address discards all messages due to filter expression.
        |demoQueue                |demoQueue                |   0    |   0   |   0    |    0     |   0    |    0    | ANYCAST | false  |
      • Now send messages to destination using FQQN name.
        ./artemis producer --destination demoQueue::demoQueue

        The queue stat shows 1000 messages received by address.

        |demoQueue                |demoQueue                |   0    |   1000   |   1000    |    0     |   0    |    0    | ANYCAST | false  |

              rhn-support-jbertram Justin Bertram
              rhn-support-vkamble Varsha Kamble
              Messaging QE Messaging QE
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: