<div dir="ltr"><div class="gmail_extra">2013/6/18 3k4b251 <span dir="ltr"><<a href="mailto:314992959@qq.com" target="_blank">314992959@qq.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">
<div id=":1ut" style="overflow:hidden">I know the channel of sender,but how can I know<br>
which queue this message from</div></blockquote></div><br>Every delivery has a consumer tag (identifier). The same tag will be availalbe on the basic.consume-ok method</div><div class="gmail_extra">returned by basic.consume (sorry, I'm not sure what function/struct exactly that translates in the C client).</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">If you keep a mapping of consumers to queues, you will be able to look up queues by consumer tag.</div><div class="gmail_extra">-- <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>