/**
*
+ *
+ * @author Erik Brakkee
*/
public class Application implements ServletContextListener {
private static final Log LOG = LogFactory.getLog(Application.class);
msg.setObject(config.getIntervalSeconds());
MessageProducer producer = session.createProducer(timerQueue);
producer.send(msg);
+ LOG.info("Message sent");
} catch (Exception e) {
LOG.fatal("Error sending message", e);
}