开发者

Problem with recieving ActiveMQ messages in JBoss (low message per second count)

开发者 https://www.devze.com 2023-03-14 03:40 出处:网络
I\'m using a remote ActiveMQ server and Message driven Beans (4 different beans) to consume the messages.开发者_如何学运维

I'm using a remote ActiveMQ server and Message driven Beans (4 different beans) to consume the messages.开发者_如何学运维

In theory the message consumption should be fast (and was fast in the past). Currently the jboss consumes a very slow number of messages (4 or so) every 4 seconds. The connection panel in the AMQ Webinterface shows two connections from my jboss consumer.

Does anybody have an idea what happens that makes my consumer so slow?

EDIT: the consumer becomes slow over time and is considerably faster after a restart. strange.


the problem was caused by the database. after a lot of debugging we figured out that there was a DB backup with a very eratic shedule that made our db server so slow the message throughput dropped to nearly zero.

0

精彩评论

暂无评论...
验证码 换一张
取 消