log.info("Receiving message from camel endpoint: '" + endpointConfiguration.getEndpointUri() + "'");
Exchange exchange = endpointConfiguration.getCamelContext().createConsumerTemplate().receive(endpointConfiguration.getEndpointUri(), timeout);
if (exchange == null) {
throw new ActionTimeoutException("Action timed out while receiving message from camel endpoint '" + endpointConfiguration.getEndpointUri() + "'");
}
log.info("Received message from camel endpoint: '" + endpointConfiguration.getEndpointUri() + "'");
Message message = endpointConfiguration.getMessageConverter().convertInbound(exchange, endpointConfiguration);