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