public TaskCheckForOutgoing() {
try {
msgDbConn = ServerDbInfo.getMsgDbConnectionInfo().getConnection();
msgDb = new MsgDb(msgDbConn);
messageStore = new JmsMessageDbStore(msgDb);
sender = new Sender();
} catch (SQLException e) {
// TODO logging for SQLException for checking for outgoing JMS Messages
e.printStackTrace();
}