}
@SuppressWarnings("rawtypes")
@Override
public ProcessorDefinition createCamelDefinition() {
InterceptSendToEndpointDefinition answer = new InterceptSendToEndpointDefinition();
answer.setInheritErrorHandler(toXmlPropertyValue(PROPERTY_INHERITERRORHANDLER, Objects.<Boolean>getField(this, "inheritErrorHandler")));
answer.setUri(toXmlPropertyValue(PROPERTY_URI, this.getUri()));
answer.setSkipSendToOriginalEndpoint(toXmlPropertyValue(PROPERTY_SKIPSENDTOORIGINALENDPOINT, this.getSkipSendToOriginalEndpoint()));
super.savePropertiesToCamelDefinition(answer);
return answer;
}