2011/7/9 Demiss Zike <span dir="ltr"><<a href="mailto:habtdemis@gmail.com">habtdemis@gmail.com</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Here is the desired outcome of my simple test programs:<br><br>EmitLogs.cs<br><ul>
<li>is supposed to publish messages to queues say q1 and q2</li></ul>ReceiveLogs.cs<br><ul><li>is supposed to read messages only from queues it subscribed to. <br></li><ul><li>i.e. if i try to read from q3, since there is no q3 bound to the exchange is should not read anything</li>
<li>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 <br></li></ul></ul><br></blockquote></div><br clear="all">Demiss,<br><br>
In ReceiveLogs.cs, I see the following line:<br><br>channel.QueueBind("q3", "logs", "");<br><br>so you do, in fact, bind q3 to the logs exchange, that's why it receives the message.<br><br>
-- <br>MK<br><br><a href="http://github.com/michaelklishin" target="_blank">http://github.com/michaelklishin</a><br><a href="http://twitter.com/michaelklishin" target="_blank">http://twitter.com/michaelklishin</a><br><br>