Skip to content

MessageCount in Thread #1210

Answered by michaelklishin
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

You haven't provided a lot of detail on what exactly you did. If you did a passive queue declare, then it only will count messages in Ready state. So if you try one message at a time, or use automatic acknowledgement mode, those will typically be zero by the time your consumer handler is invoked.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants