Am using jboss-4.0.5.GA and I have an MDB configured for a queue with message selector. Everything goes fine, messages are consumed and processed, until a day or two then the MDB stops consuming messages while there are still messages in the queue. I did take a look in logs for any exception, but it was clean. I browsed through the thread dump, I could'nt see anything suspicious. If the jboss is restarted the messages are consumed and are back to normal.
But am not sure, what is the triggering point which causes the MDB not the consume the message. Appreciate any help!!