Hi,
I've got a JMS-based application where a session bean sends messages to an MDB. These MDB do some work and then send a message back via the getJMSDestination() address to the session bean.
The messaging works fine, but both the FilePM and the RollingPM creak to a halt after about 25-30 minutes of constant messaging.
The FilePM method generates over 70,000 individual little files killing off filesystem performance. Whilst the RollingFilePM method generates single files in the region of 700-1000Mb, creaking to halt as JBoss probably can't easily access the file contents via a high-performance index.
I've checked my code and every MDB message is set to AUTO_ACKNOWLEDGE and ever JMS-reply message is instantly msg.acknowledge()d.
Is this known behaviour of JBoss ? Have I done something wrong in setting up JMS ? How do I clear these messages once they've been processed ?
Thanks,
Ijonas Kisselbach.
Hi,
I have also noticed the same thing. I am using rolling logged persistence. After acknowledging the message, message is not getting removed from the file. File size remains same. When exactly JBOSS MQ removes the messages from file?
Thanks,
--Monu