<div dir="ltr"><div class="gmail_extra">2013/5/2 Chip Salzenberg <span dir="ltr"><<a href="mailto:rev.chip@gmail.com" target="_blank">rev.chip@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">
The decision to close the channel is for symmetry with the "consume" method, which closes the channel if it fails.</blockquote></div><br>When basic.consume fails, it is because you try to consume from a queue that does not exist or the queue is exclusive</div>
<div class="gmail_extra">and owned by another connection. This raises a channel exception and that causes the channel to be closed.</div><div class="gmail_extra"><br></div><div class="gmail_extra">This is not specific to basic.consume but all channel exceptions. I personally don't think making cancellation notifications</div>
<div class="gmail_extra">close a channel improves consistency. I'm not aware of other clients doing this.<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>
</div></div>