String injectionPointName = method.getName();
Endpoint endpoint = getEndpointInjection(endpointUri, endpointName, injectionPointName, true);
if (endpoint != null) {
try {
Processor processor = createConsumerProcessor(bean, method, endpoint);
Consumer consumer = endpoint.createConsumer(processor);
LOG.debug("Created processor: {} for consumer: {}", processor, consumer);
startService(consumer, bean, beanName);
} catch (Exception e) {
throw ObjectHelper.wrapRuntimeCamelException(e);
}