1 Reply Latest reply on Mar 8, 2012 7:42 PM by acchillies

    what happens when ejb Timer service timeout happens before the finish

    acchillies

      Hello everybody,

       

      what happens when a timeout occurs before the previous timeout method execution finishes.

       

      For example, lets there is a timer which fires every 10 seconds.

       

      @Timeout

      private void doSomething (Timer timer) {

           // lets say this method takes random time of up to 15 minutes to finish sometimes.

      }

       

      Please enlighten me what happens here.. Does JBoss store all the fired timeouts in a queue or would it just let go if the previous timeout method execution is still on, and wait for the next timeout.

       

      Thank you,

      A.