[rabbitmq-discuss] Quick question: Writing to multiple queues
Michael Klishin
michael.s.klishin at gmail.com
Sat Jul 9 20:44:47 BST 2011
2011/7/9 Demiss Zike <habtdemis at gmail.com>
> Here is the desired outcome of my simple test programs:
>
> EmitLogs.cs
>
> - is supposed to publish messages to queues say q1 and q2
>
> ReceiveLogs.cs
>
> - is supposed to read messages only from queues it subscribed to.
> - i.e. if i try to read from q3, since there is no q3 bound to the
> exchange is should not read anything
> - on the other hand if i try to read from q1 or q2 or both, then i
> should be able to do so as long as there is a message in the respective
> queues
>
>
>
Demiss,
In ReceiveLogs.cs, I see the following line:
channel.QueueBind("q3", "logs", "");
so you do, in fact, bind q3 to the logs exchange, that's why it receives the
message.
--
MK
http://github.com/michaelklishin
http://twitter.com/michaelklishin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110709/62fea08e/attachment.htm>
More information about the rabbitmq-discuss
mailing list