setProperties(processor, parameters);
return createEndpoint(uri, processor);
}
protected ProcessorEndpoint createEndpoint(String uri, BeanProcessor processor) {
ProcessorEndpoint answer = new ProcessorEndpoint(uri, this, processor);
answer.setExchangePattern(ExchangePattern.InOut);
return answer;
}