Integer dlId = (Integer)iter.next();
try {if(!runImmediately){
IDistributionListDAO dao=DAOFactory.getDistributionListDAO();
dao.setUserProfile(profile);
DistributionList dl = dao.loadDistributionListById(dlId);
dao.insertDLforDocument(dl, objId, xml);
}
} catch (Exception ex) {
logger.error("Cannot fill response container" + ex.getLocalizedMessage());
throw new EMFUserError(EMFErrorSeverity.ERROR, 100);
}