We have a messaging application. We recently converted it "back" to using sql backed jms queues. We had this problem before and converted to non-persistent memory queues to eliminate the problem. I have need to use persistence so I am back to trying to solve this problem.
Typically the messages we are server are SMS messages. Messages come into the system, parameters are retrieved from an LDAP database and then a reply is sent back.
What will happen is eventually the replies get stuck, I then have to restart the application and thankfully the messages are persistent so messages resume.
When the queues get stuck there are no errors that I can detect and I have logging at a pretty high level also the queues will never unstick themselves and I have to do the restart, no matter how much time can pass.
We are using Mule 1.4.4, ActiveMQ 5.4.2 and Java 1.6.26
I am desperate and need some advice on how to troubleshoot this. Needless to say we HAVE tried many things like tunning queues, forcing them all the be vm queues.
Looking forward to some advice!