<div dir="ltr">On Thu, Sep 5, 2013 at 11:32 AM, Haster <span dir="ltr"><<a href="mailto:haster2004@yandex.ru" target="_blank">haster2004@yandex.ru</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I think this function recive a lot of messages and save it to buffer until<br>
it get unbind-ok.<br></blockquote><div>You are correct, this is likely what is going on inside the library.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
How can I solve this problem?<br></blockquote><div>Assuming you're not using the no-ack option of basic.consume, you could do a basic.qos (amqp_basic_qos()) on the channel with the consumer, which will limit the number of un-acked messages the broker sends to the client.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is it possible to call cancel or unbind on another channel or it also will<br>
accumulate all messages?<br></blockquote><div>Calling it on a different channel won't help, the frame buffer is a per-connection thing.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Or shoud I use another connection for it and will it work?<br></blockquote><div>This is also an option. </div><div><br></div><div>-Alan</div></div></div></div>