How many consumers do you have on the queue, and how many messages have been dispatched (but not consumed) to each? And what prefetch size are they using? The default prefetch size is 1000; any chance you have three slow consumers that are each sitting on a full prefetch buffer?
Are you seeing the pending count on the web console, or somewhere else? And what version of ActiveMQ are you running? That's important information anytime you ask a question on this mailing list. Tim On Aug 10, 2016 9:50 PM, "softwbc" <soft...@163.com> wrote: > I'm using ActiveMQ5.13.1 ,spring-jms-3.0.5After running for some time, I > found that there are 3000 message pendding.But other messages can be > consumed. That the queue is not blockedis there anyone that knows why these > messages are in pending message list in broker? and i cannot consume? > > > > -- > View this message in context: http://activemq.2283324.n4. > nabble.com/activemq-3000-messages-can-not-be-received-tp4715396.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com.