Thank you. It did work .

On Mon, Dec 16, 2013 at 4:38 PM, AndyG <[email protected]>wrote:

> 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.
>



-- 
Thanks and Regards
N Radhakrishna Kalyan

P:  +46 733 312 584
http://about.me/nrkkalyan
 <http://about.me/nrkkalyan>

Reply via email to