Should this not return convertedExchange?
/**
* Sends the exchange to the given endpoint
*
* @param endpoint the endpoint to send the exchange to
* @param exchange the exchange to send
*/
public E send(Endpoint<E> endpoint, E exchange) {
E convertedExchange = endpoint.toExchangeType(exchange);
producerCache.send(endpoint, convertedExchange);
return exchange;
}
--
View this message in context:
http://www.nabble.com/CamelTemplate-send-method-tf4344828s22882.html#a12378150
Sent from the Camel - Users mailing list archive at Nabble.com.