@Override
protected void loadPropertiesFromCamelDefinition(ProcessorDefinition processor) {
super.loadPropertiesFromCamelDefinition(processor);
if (processor instanceof InOnlyDefinition) {
InOnlyDefinition node = (InOnlyDefinition) processor;
this.setUri(node.getUri());
} else {
throw new IllegalArgumentException("ProcessorDefinition not an instanceof InOnlyDefinition. Was " + processor.getClass().getName());
}
}