String jobName = context.getJobDetail().getFullName();
log.info("ScheduledRemoteProviderImportJob " + jobName + " executing at " + new Date() + ". Sending request to queue.");
JobDataMap dataMap = context.getJobDetail().getJobDataMap();
String remoteProviderTypeIds = dataMap.getString("remoteProviderTypeIds");
QueueSender queueSender = (QueueSender)dataMap.get("queueSender");
for (String remoteProviderTypeId : remoteProviderTypeIds.split(",")) {
queueSender.addRemoteProviderImport(Integer.parseInt(remoteProviderTypeId));
}
}