[jboss-user] [EJB3] - what happens when ejb Timer service timeout happens before the finish

kumar mynam do-not-reply at jboss.com
Thu Mar 8 17:27:55 EST 2012


kumar mynam [https://community.jboss.org/people/acchillies] created the discussion

"what happens when ejb Timer service timeout happens before the finish"

To view the discussion, visit: https://community.jboss.org/message/722666#722666

--------------------------------------------------------------
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
[https://community.jboss.org/message/722666#722666]

Start a new discussion in EJB3 at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120308/ebe18e6e/attachment.html 


More information about the jboss-user mailing list