-
1. Message stuck in the queue
clebert.suconic Mar 21, 2011 9:39 AM (in response to yongz)Are you using Duplicate detection somehow?
Clustering somehow?
DuplicateDetection was cancelling the TX but not rolling it back,what could lead to deliveringCounts if you had a message being consumed while the TX was being cancelled by DuplicateDetection.
If that's not the case we would need a testcase. It's probably fixed on 2.2 anyways.
-
2. Message stuck in the queue
clebert.suconic Mar 21, 2011 9:40 AM (in response to clebert.suconic)We are working on the release.. meanwhile maybe you could try this by building it yourself:
http://anonsvn.jboss.org/repos/hornetq/tags/HornetQ_2_2_1_EAP_GA/
-
3. Message stuck in the queue
yongz Mar 21, 2011 10:02 AM (in response to clebert.suconic)Thanks Clebert.
Are you using Duplicate detection somehow?
No, we are not using duplicate detection.
Clustering somehow?
Yes, we are using clustering for another queue, but this queue is a local queue
The interesting thing is that there seems to be a pattern: the queue works for a while, say 15-20 messages, and then message is stuck in the queue, and starts to deliver the next message again. The stuck message will not be picked by any listeners, and this behiviour really confused us.
We just recently upgrade to Hornetq from JBoss messaging 1.4.6, and the code worked fine previously with JBM.
-
4. Message stuck in the queue
yongz Mar 23, 2011 3:46 AM (in response to yongz)Further this issue, one of my college found that Hornetq works differently from JBM when MDB is used.
What we observed is:
- When the message is distributed across MDB pool(size of 15), it uses a round-robin, regardless the first thread is busy or not.
- In this case, even if the first MDB is busy, the message is still distributed to it, which causes the new message to stuck in the queue and wait for the running job to complete. The stuck message caused a lot grieve for us
- While JBM is smarter and seems choose the an idle MDB and distribute the message to it.
Can you please confirm this issue?
-
5. Re: Message stuck in the queue
ronsen Jun 21, 2011 11:23 AM (in response to yongz)Yes, I can confirm it. just ahving the same issue.
Is there any possibility to get the other workers to get the messages and deal with them??