// messages can also contain a jobId property
else if (message.getObjectProperty("jobId") != null) {
String jobId = message.getStringProperty("jobId");
log.debug("received message with job id " + jobId);
// create a command with the given jobId
command = new ExecuteJobCmd(jobId);
}
else {
log.info("WARNING: ignoring message, unknown format: " + message);
}
return command;