camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r579640 - /activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/CamelTemplate.java
Date Wed, 26 Sep 2007 12:31:39 GMT
Author: jstrachan
Date: Wed Sep 26 05:31:38 2007
New Revision: 579640

URL: http://svn.apache.org/viewvc?rev=579640&view=rev
Log:
applied patch from Martin Novák to fix a bug

Modified:
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/CamelTemplate.java

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/CamelTemplate.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/CamelTemplate.java?rev=579640&r1=579639&r2=579640&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/CamelTemplate.java (original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/CamelTemplate.java Wed
Sep 26 05:31:38 2007
@@ -54,8 +54,7 @@
      */
     public E send(String endpointUri, E exchange) {
         Endpoint endpoint = resolveMandatoryEndpoint(endpointUri);
-        send(endpoint, exchange);
-        return exchange;
+        return send(endpoint, exchange);
     }
 
     /**



Mime
View raw message