[rabbitmq-discuss] rabbitmq-c consumer will lose if Network status is bad ?

Michael Klishin michael.s.klishin at gmail.com
Wed Jan 22 06:13:26 GMT 2014


2014/1/22 3k4b251 <314992959 at qq.com>

>  I  try  to   use  amqp_basic_cancel(Q_123,...);   and   then
> amqp_basic_consume(Q_123,...);  But  message  in Q_123  still  can't  be
> published.
>
>   finally   I  reconnect   to  the   MQ   Server.  and  use
> amqp_basic_consume(Q_123,...);  I  received  every message  in Q_123.   So
> the  connection  had  a  problem?
>

You need to reconnect and reopen the channel(s) before you can recover
your consumer.
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140122/39760918/attachment.html>


More information about the rabbitmq-discuss mailing list