public void startTimer(String id, int interval) {
// need to make sure all timers are down (e.g. after redeploy)
destroyTimer(id);
// Creating a non-persistent timer, so that it won't survive a restart
TimerConfig timerConfig = new TimerConfig();
timerConfig.setPersistent(false);
timerConfig.setInfo(id);
timerService.createIntervalTimer(interval, interval, timerConfig);
LOG.info("Timer for " + id + " started.");
}