if ( jobName != null && !this.lock(jobTopic, jobName) ) {
logger.debug("Discarding duplicate job {}", Utility.toString(jobTopic, jobName, jobProperties));
return null;
} else {
final TopologyCapabilities caps = this.configuration.getTopologyCapabilities();
info.targetId = (caps == null ? null : caps.detectTarget(jobTopic, jobProperties, info));
if ( logger.isDebugEnabled() ) {
if ( info.targetId != null ) {
logger.debug("Persisting job {} into queue {}, target={}", new Object[] {Utility.toString(jobTopic, jobName, jobProperties), info.queueName, info.targetId});
} else {