This content has been marked as final.
Show 2 replies
-
1. Re: Setting MessageHandler timeout
bill.burke Oct 26, 2009 5:29 PM (in response to bill.burke)Or, maybe what I really need to know is if MessageHandler.onMessage() will ever timeout. The current code I have assumes otherwise. I was looking at the HornetQ code and it looks like it will not timeout the onMessage(). Am I right?
-
2. Re: Setting MessageHandler timeout
clebert.suconic Oct 26, 2009 10:05 PM (in response to bill.burke)We don't do any timeouts on the onMessage.
There are useCases where the user could take hours to process a request. So, we can't do any timeouts.
HornetQ is telling me my MessageHandler invocation is timeout out and it is retrying the request.
Perhaps you are seeing another error message?
Maybe you are hacking around debuggers, and block something beyond ping timeout? I'm just guessing of course. I would need more information to help you with this.