[rabbitmq-discuss] rabbitmq-c can't recieve message

3k4b251 314992959 at qq.com
Sat Aug 24 14:57:53 BST 2013

  I  send  a  durable  message  to   queue:  123456  .    
Then  I   use   amqp_basic_consume(...,123456,tag,..).  
Then   I  receive  the  message  and   delivery_tag.    
the message  will be still  alive  in  the  queue  if  I  not   use 
Then I use  amqp_basic_cancel(tag)  to remove queue listener without  use 
amqp_basic_ack() before;
Then I use  amqp_basic_consume(123456,tag)  twice. It's  seems  like that 
the server  didn't  push the message  to me .  
So  I  restart the connection to server. Then  use 
amqp_basic_consume(123456,tag).  server push message  to me .
  So  I just want to know ,  if  I  lose the  message  ack, how  can  I get
the message  again by the same consumer ? Only to  restart connection ?

View this message in context: http://rabbitmq.1065348.n5.nabble.com/rabbitmq-c-can-t-recieve-message-tp29061.html
Sent from the RabbitMQ mailing list archive at Nabble.com.

More information about the rabbitmq-discuss mailing list