Do not use a repeating timer, and then only restart the timer when your
method completes.


@Resource
private TimerService timerService;


@PostConstruct
public void postConstruct() {
  this.timerService.createSingleActionTimer(5 minutes...


@Timeout
public void onTimeout(final Timer timer) {
...do something...
this.timerService.createSingleActionTimer(another 5 minutes...

Andy.



--
View this message in context: 
http://openejb.979440.n4.nabble.com/Question-about-EJB-TimerService-overlapping-timer-schedule-tp4666761p4666762.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to