Gordon Sim created QPID-5078:
--------------------------------

             Summary: consumers not notified of messages if another consumer 
with selector/filter doesn't want it
                 Key: QPID-5078
                 URL: https://issues.apache.org/jira/browse/QPID-5078
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker
    Affects Versions: 0.24
            Reporter: Gordon Sim
            Assignee: Gordon Sim
             Fix For: 0.25


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to