}
public JobResult process(Job job) {
log.debug("processing job {}", job.getId());
String queueName = JobHandlingUtils.getQueueName(job);
ReplicationQueueItem info = JobHandlingUtils.getPackage(job);
log.info("processing item {} in queue {}", info.getId(), queueName);
boolean processingResult = queueProcessor.process(queueName, info);
JobResult jobResult = processingResult ? JobResult.OK : JobResult.FAILED;
log.info("item {} processed {} with result {}", new Object[]{info.getId(), jobResult, jobResult});
return jobResult;
}