<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2014/1/3 Patrick Long <span dir="ltr"><<a href="mailto:pat@munkiisoft.com" target="_blank">pat@munkiisoft.com</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div style="font-size:13px;font-family:arial,sans-serif">When I call channel.<b>BasicGet</b>(this.WorkQueueName, false) in a loop it dequeues messages ignoring the routingkey set on them.</div><div style="font-size:13px;font-family:arial,sans-serif">


<br></div><div style="font-size:13px;font-family:arial,sans-serif">Any idea why it would be ignoring the RoutingKey?</div></blockquote></div><br>Routing key is used to route messages to queues. They play no part in consumption of messages.<br>

<br clear="all"><div>SeeĀ <a href="http://www.rabbitmq.com/tutorials/amqp-concepts.html">http://www.rabbitmq.com/tutorials/amqp-concepts.html</a></div><div><br></div><div>To consume messages selectively you need to make sure they are routed to different queues, then consume</div>

<div>from the right queue.</div>-- <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>


</div></div>