2 Replies Latest reply on Oct 26, 2009 10:05 PM by clebert.suconic

    Setting MessageHandler timeout

    bill.burke

      Can you set the retry timeout for the MessageHandler with the core HornetQ api? HornetQ is telling me my MessageHandler invocation is timeout out and it is retrying the request.

        • 1. Re: Setting MessageHandler timeout
          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

            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.