ctx.getTimerService().createTimer(new Date(new Date().getTime() + milliseconds), "Hello World");
System.out.println("---------------------"); System.out.println("* Received Timer event: " + timer.getInfo()); System.out.println("---------------------"); timer.cancel();