<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2013/7/17 3k4b251 <span dir="ltr"><<a href="mailto:314992959@qq.com" target="_blank">314992959@qq.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":1ue" style="overflow:hidden">But connection and channels still alive. </div></blockquote><div><br></div><div>Are you sure that the channels are still open?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":1ue" style="overflow:hidden"> But RPC-style commands<br>
doesn't work such as amq_basic_consume().... </div></blockquote><div><br></div><div>Can you be more specific than "does not work"?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":1ue" style="overflow:hidden">So I guess servers<br>
lock my connection or channel when got a exception . How to<br>
unlock it?</div></blockquote></div><br>If you get a channel exception, the channel is closed and can no longer</div><div class="gmail_extra">be used. Inspecting RabbitMQ log will make it easy to notice.</div><div class="gmail_extra">
<br></div><div class="gmail_extra">Another thing that may be happening is RabbitMQ throttling your connection.</div><div class="gmail_extra">It can be easily seen in the management UI and should not affect</div><div class="gmail_extra">
channels that only consume messages.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I assume AMQP_RESPONSE_SERVER_EXCEPTION indicates</div><div class="gmail_extra">a channel exception. You need to investigate what exactly causes</div>
<div class="gmail_extra">it (see the log) or use a new channel.<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>