If I post 3 messages to a topic with 2 active consumers, what will the dequeue count be after all messages are successfully consumed, 3 or 6? From my JConsole I think 6 (it shows enQ=3 and deQ=6) but can you confirm?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes your assumption is correct. But keep in mind that it might not always be an exact multiple, if one of the consumers disconnects for a period of time and then reconnects, the dequeue count will not include the messages missed by that client while it was disconnected.