}
@SuppressWarnings("rawtypes")
@Override
public ProcessorDefinition createCamelDefinition() {
LoadBalanceDefinition answer = new LoadBalanceDefinition();
answer.setInheritErrorHandler(toXmlPropertyValue(PROPERTY_INHERITERRORHANDLER, Objects.<Boolean>getField(this, "inheritErrorHandler")));
answer.setRef(toXmlPropertyValue(PROPERTY_REF, this.getRef()));
answer.setLoadBalancerType(toXmlPropertyValue(PROPERTY_LOADBALANCERTYPE, this.getLoadBalancerType()));
super.savePropertiesToCamelDefinition(answer);
return answer;
}