dc.setSQL(SQLGETBUNDLESTOPROCESS);
dc.addParam(Status.BUNDLE_SENT_SUCCESSFULLY.getCode());
dc.addParam(Status.PUBLISHING_BUNDLE.getCode());
return dc.loadObjectResults();
}catch(Exception e){
Logger.error(PublisherUtil.class,e.getMessage(),e);
throw new DotPublisherException("Unable to get list of elements with error:"+e.getMessage(), e);
}finally{
DbConnectionFactory.closeConnection();