This is an issue I've been struggling with for a while now, and I am out of any good ideas on how to fix it:
How would you go about debugging this issue? What kind of logging could I get out of HornetQ relating to consumers, message assignments etc?
One thing I'd like to know is which consumer id's the messages get assigned to.
It is also possible this is a Spring issue, but so far Spring has been pretty stable.
This post seemed like it could be related, but I spawned a new discussion due to what Clebert said:
Is this reproducable? Why don't you create an easy sample showing the issue?
- You could increase the debug level to trace on QueueImpl and verify the consumers being added and removed
- You could also verify if there are connections leaking (which is probably your case there).
- a Thread dump?