Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-5078

consumers not notified of messages if another consumer with selector/filter doesn't want it

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.24
    • Fix Version/s: 0.24
    • Component/s: C++ Broker
    • Labels:
      None

      Description

      E.g. run

        drain "q; {create:always, link:{selector:\"colour = 'red'\"}}" -f
      

      and in another terminal:

        drain "q; {create:always, link:{selector:\"colour = 'blue'\"}}" -f
      

      then:

        for i in `seq 1 5`; do spout --content "red-$i" -P colour=red q; done
        for i in `seq 1 5`; do spout --content "blue-$i" -P colour=blue q; done
        for i in `seq 6 10`; do spout --content "red-$i" -P colour=red q; done
      

      Expect first drain to see all 10 'red' messages, second drain to see all 5 'blue' messages but in practice this doesn't (always) happen. The message are on the queue but the consumers are not always notified of their existence.

        Attachments

          Activity

            People

            • Assignee:
              gsim Gordon Sim
              Reporter:
              gsim Gordon Sim
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: