You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
I encountered the problem, that when the triggered method is currently processing and the same timer hits again, the method is also processed again.
Migrating from the EJB @Schedule annotation, this is a different behaviour. In EJB the method is processed exclusively, and during that, additional triggers are ignored.
I tried setting the method to synchronized but then - like I expected - the triggers are stacking up, firing again as soon as the method finishes.
McIntozh
changed the title
Missing skip- order exclusive-feature for Scheduler system
Missing skip- or exclusive-feature for Scheduler system
Jun 9, 2020
Description
I encountered the problem, that when the triggered method is currently processing and the same timer hits again, the method is also processed again.
Migrating from the EJB
@Schedule
annotation, this is a different behaviour. In EJB the method is processed exclusively, and during that, additional triggers are ignored.I tried setting the method to synchronized but then - like I expected - the triggers are stacking up, firing again as soon as the method finishes.
Only current workaround is
I would like to have the possibility to skip triggers on methods that are still being processed
Implementation ideas
Either:
@Scheduler
annotationThe text was updated successfully, but these errors were encountered: