String fetchTaskName = fetchConf.getAttribute("name");
fp.enableLogging(getLogger().getChildLogger(fetchTaskName));
fp.compose(compMgr);
fp.configure(fetchConf);
Integer interval = new Integer(fetchConf.getChild("interval").getValue());
PeriodicTimeTrigger fetchTrigger = new PeriodicTimeTrigger(0, interval.intValue());
scheduler.addTrigger(fetchTaskName, fetchTrigger, fp);
theFetchTaskNames.add(fetchTaskName);
}
getLogger().info("Fetch POP Started");
System.out.println("Fetch POP Started ");