Problem with recieving ActiveMQ messages in JBoss (low message per second count)
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.
精彩评论