2 Replies Latest reply on Oct 26, 2009 10:05 PM by Clebert Suconic

    Setting MessageHandler timeout

    Bill Burke Master

      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 Master

          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 Master

            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.