if (spooler_job.order_queue() != null) {
// this.setConfigurationFilename("scheduler_" + spooler_task.order().job_chain().name() + "_" + order.id() + ".config.xml");
this.getLogger().debug2(".. parameter [configuration_file]: " + this.getConfigurationFilename());
if (spooler_job.configuration_directory().length()>0){
File confFile = new File(getConfigurationPath(), order.job_chain().name() + ".config.xml");
File confOrderFile = new File(getConfigurationPath(), order.job_chain().name() + "," + order.id() + ".config.xml");
if (confOrderFile.exists()){
this.setConfigurationFilename( confOrderFile.getAbsolutePath());
this.getLogger().debug2(".. configuration file for this order exists. order_id:" + order.job_chain().name() + "/" + order.id());
}else{
this.setConfigurationFilename( confFile.getAbsolutePath());