ActiveMQ behaving badly? Mule MQ to the rescue! A use-case example
Friday, June 25th, 2010A few months ago, I received a number of complaints from Mule customers about strange freezes that they couldn’t trace to any cause. When I investigated, I noticed something – all of these customers were using ActiveMQ.
I dug a little deeper, and found that the freezes were being caused by a flaw in the way that ActiveMQ behaves when its message queue becomes full. Mule wasn’t freezing – it was waiting for ActiveMQ!
Using Mule MQ, which uses a return status to handle full queue situations, I was able to write up a quick alternative configuration that solved the problem, routing messages to a dead.letter queue for re-use if the default queue became full.