简体   繁体   English

ActiveMq飞行计数未减少

[英]ActiveMq Inflight Count not decreasing

I am using activemq 5.5.0 version in my project. 我在项目中使用activemq 5.5.0版本。

I am facing one problem due to some reason my inflight count keep on increasing , Rate of increment is not high. 由于某种原因,我的机上航班数量持续增加,所以我面临一个问题,增长率不高。

After some days it will become equal to prefetch size then my queue stops responding. 几天后,它将等于预取大小,然后我的队列停止响应。

Could anyone can help me how to make inflight count 0 without deleting the queue ? 任何人都可以帮助我如何在不删除队列的情况下使机上计数为0?

You can make the in-flight count go to 0 by purging the queue from the web console (there's a Purge link on each queue on the Queues page); 您可以通过从Web控制台清除队列来使进行中的计数变为0(“队列”页面上每个队列上都有一个“清除”链接); that will delete all messages in the queue without deleting the queue itself. 这将删除队列中的所有消息而不会删除队列本身。

That will satisfy the question as you've asked it, though I suspect it's not really what you want and what you meant was "without deleting any messages from the queue". 这将满足您的要求,尽管我怀疑这不是您真正想要的,您的意思是“没有从队列中删除任何消息”。 But if I'm wrong and this is what you wanted, then great; 但是,如果我错了,而这正是您想要的,那就太好了; if not, answer my questions in the comment I added and we'll go from there. 如果没有,请在我添加的评论中回答我的问题,我们将从那里继续。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM