Hi Subashree- This is a minor issue that has been fixed since 5.15.5 (recommend upgrading to 5.18.1) that is usually caused by consumers closing or rejecting messages.
Check the ‘dispatchedCount’ and see if it is noticeably higher than the dequeueCount. If so, your consumers are probably closing or rejecting messages that have been prefetched. Thanks, Matt > On Apr 24, 2023, at 10:37 AM, Suresh, Subashree RTX > <subashree.sur...@rtx.com.INVALID> wrote: > > We have multiple internal queues which the consumers subscribe to for message > retrieval in our application. Recently we see messages increasing in one of > the queue and the consumer is unable to retrieve message from the queue > though it exists and the application stops after few tries. The consumer > uses selector to retrieve message and gets message not available response. We > can see the message being in the queue using the webconsole. In the ActiveMQ > logs we see the Inflight showing a negative value when this happens. The > application has been working well for many years. There is no special > configurations set for activemq. It is all default values. Has anyone seen > this issue before?? > > Thanks,