Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QAmqpQueue::messageCount The number of entries fetched does not change #85

Open
poapoauu opened this issue Mar 5, 2024 · 1 comment

Comments

@poapoauu
Copy link

poapoauu commented Mar 5, 2024

QAmqpQueue::messageCount The number of entries fetched does not change only the data that the consumer gets from the first connection is correct

@WollZebra
Copy link
Collaborator

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);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants