-
1. Re: MDB processing is sleeping for ten minutes (transaction
genman Dec 3, 2004 7:05 PM (in response to sheckler)
The MDB shouldn't be processing messages synchronously. I don't understand this post. -
2. Re: MDB processing is sleeping for ten minutes (transaction
luc.texier Dec 3, 2004 9:04 PM (in response to sheckler)me neither ;)
-
3. Re: MDB processing is sleeping for ten minutes (transaction
sheckler Dec 6, 2004 10:36 AM (in response to sheckler)In this context synchronously means a message was put into a queue and without delay received by an MDB. Sorry for that missunderstanding.
My post describes the test result, under certain circumstances there seemed to be a ten minute delay.
We suppose, that the processing in the onMessage of the MDB leads to a transaction deadlock.
Stefan -
4. Re: MDB processing is sleeping for ten minutes (transaction
genman Dec 7, 2004 2:45 PM (in response to sheckler)If it's deadlocked, then even after 10 years it wouldn't work. You can get a stack trace with CTRL-BREAK on Windows, or attach a debugger and see what's going on during those 10 minutes.
-
5. Re: MDB processing is sleeping for ten minutes (transaction
sheckler Dec 8, 2004 3:10 AM (in response to sheckler)Thanks for that hint. What we found is if transaction timeout is set to 2 minutes, the delay takes 2 minutes, if set to 10 minutes the delay takes 10 minutes, but we did not see a transaction rollback exception.
Anyway the reason for that behaviour is not JMS, but some business logic involved within the onMessage of the MDB.