You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Martin Novák <mn...@martinnovak.eu> on 2007/09/22 20:36:47 UTC
Is this bug?
In the class CamelTemplate shouldn't this:
public E send(String endpointUri, E exchange) {
Endpoint endpoint = resolveMandatoryEndpoint(endpointUri);
send(endpoint, exchange);
return exchange;
}
be:
public E send(String endpointUri, E exchange) {
Endpoint endpoint = resolveMandatoryEndpoint(endpointUri);
E retExchange send(endpoint, exchange);
return retExchange;
}
???
Martin
Re: Is this bug?
Posted by James Strachan <ja...@gmail.com>.
On 22/09/2007, Martin Novák <mn...@martinnovak.eu> wrote:
> In the class CamelTemplate shouldn't this:
>
> public E send(String endpointUri, E exchange) {
> Endpoint endpoint = resolveMandatoryEndpoint(endpointUri);
> send(endpoint, exchange);
> return exchange;
> }
>
> be:
>
> public E send(String endpointUri, E exchange) {
> Endpoint endpoint = resolveMandatoryEndpoint(endpointUri);
> E retExchange send(endpoint, exchange);
> return retExchange;
> }
>
> ???
Great catch! Patch applied with thanks!
--
James
-------
http://macstrac.blogspot.com/
Open Source SOA
http://open.iona.com