JBoss Community

what happens when ejb Timer service timeout happens before the finish

created by kumar mynam in EJB3 - View the full discussion

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.

Reply to this message by going to Community

Start a new discussion in EJB3 at Community