}
@SuppressWarnings("rawtypes")
@Override
public ProcessorDefinition createCamelDefinition() {
WireTapDefinition answer = new WireTapDefinition();
answer.setUri(toXmlPropertyValue(PROPERTY_URI, this.getUri()));
answer.setNewExchangeProcessorRef(toXmlPropertyValue(PROPERTY_NEWEXCHANGEPROCESSORREF, this.getNewExchangeProcessorRef()));
Objects.setField(answer, "newExchangeExpression", toXmlPropertyValue(PROPERTY_NEWEXCHANGEEXPRESSION, this.getNewExchangeExpression()));
answer.setHeaders(toXmlPropertyValue(PROPERTY_HEADERS, this.getHeaders()));
answer.setExecutorServiceRef(toXmlPropertyValue(PROPERTY_EXECUTORSERVICEREF, this.getExecutorServiceRef()));
answer.setCopy(toXmlPropertyValue(PROPERTY_COPY, this.getCopy()));
answer.setOnPrepareRef(toXmlPropertyValue(PROPERTY_ONPREPAREREF, this.getOnPrepareRef()));
super.savePropertiesToCamelDefinition(answer);
return answer;
}