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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.24
    • 0.24
    • C++ Broker
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: