Open poapoauu opened 6 months ago
Hi @poapoauu, do you have a little more context and code? How do you reproduce that and what is your setup?
You can build qamqp with QAMQP_DEBUG defined - then you should find this qDebug output including the messageCount after a
declareOk
qAmqpDebug("-> queue#declareOk( queue-name=%s, message-count=%d, consumer-count=%d )", qPrintable(name), messageCount, consumerCount);
purgeOk
qAmqpDebug("-> queue#purgeOk( queue-name=%s, message-count=%d )", qPrintable(name), messageCount);
deleteOk
qAmqpDebug("-> queue#deleteOk( queue-name=%s, message-count=%d )", qPrintable(name), messageCount);
QAmqpQueue::messageCount The number of entries fetched does not change only the data that the consumer gets from the first connection is correct