anonymous wrote : the timer is created but the timeout method is executed multiple times.
It waits for the specified duration(1 min) and again executes multiple times. is there any
specific reason.
That's because, you configured the timer to do so :)
anonymous wrote : ctx.getTimerService().createTimer(interval,interval, "Probe Health
Check Timer");
Have a look at the javadocs of createTimer, the second parameter mentions the repeat
interval. I think you want this, instead:
ctx.getTimerService().createTimer(interval, "Probe Health Check Timer");
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4215577#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...