-
Notifications
You must be signed in to change notification settings - Fork 213
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
Getting queue size #75
Comments
Yes: Channel::DeclareQueueWithCounts() does what you want. |
Closing this. If you have any further questions feel free to re-open this issue or open a new one. |
is there any side effect or performance impact of polling the channel with Channel::DeclareQueueWithCounts? |
@kreuzerkrieg from a Client's perspective each time you call Channel::DeclareQueueWithCounts that is one round-trip to the broker. I'm not sure how efficiently the |
Is there any API available on channel (or it can be supported later) to get the current queue size .. I know that Rabbitmq monitoring API has option to get queue size, but just wondering if there is an API available from channel (Channel.cpp).. My usecase is that I just want to know the workload remaining to be consumed : I know I can go through all messages one-by-one and then determine the queue size. But, is there an alternate simple way?
The text was updated successfully, but these errors were encountered: