You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Gordon Sim (JIRA)" <ji...@apache.org> on 2013/08/17 00:15:48 UTC
[jira] [Resolved] (QPID-5078) consumers not notified of messages if
another consumer with selector/filter doesn't want it
[ https://issues.apache.org/jira/browse/QPID-5078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gordon Sim resolved QPID-5078.
------------------------------
Resolution: Fixed
> 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
> {noformat}
> drain "q; {create:always, link:{selector:\"colour = 'red'\"}}" -f
> {noformat}
> and in another terminal:
> {noformat}
> drain "q; {create:always, link:{selector:\"colour = 'blue'\"}}" -f
> {noformat}
> then:
> {noformat}
> 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
> {noformat}
> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org