throw new FFMQException("Queue descriptor already exists : "+queueDescriptor.getAbsolutePath(),"FS_ERROR");
// Create the descriptor file
log.debug("Persisting queue definition for "+queueDef.getName());
Settings queueSettings = queueDef.asSettings();
queueSettings.writeTo(queueDescriptor, "Queue definition descriptor for "+queueDef.getName());
}
// Register it
queueDefinitions.put(queueDef.getName(), queueDef);
}