public void run() {
try {
Thread.sleep(300);
GeneralBroadcaster delayedBroadcaster = (GeneralBroadcaster) BroadcasterFactory.getDefault().lookup(GeneralBroadcaster.class, delayedBroadcasterName);
if(delayedBroadcaster != null)
delayedBroadcaster.broadcast(message, resource);
} catch (Exception e) {
logger.error("Could not broadcast message",e);
}
}
});