camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r991205 - /camel/trunk/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcProducer.java
Date Tue, 31 Aug 2010 14:24:18 GMT
Author: davsclaus
Date: Tue Aug 31 14:24:18 2010
New Revision: 991205

URL: http://svn.apache.org/viewvc?rev=991205&view=rev
Log:
Fixed test on other boxes.

Modified:
    camel/trunk/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcProducer.java

Modified: camel/trunk/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcProducer.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcProducer.java?rev=991205&r1=991204&r2=991205&view=diff
==============================================================================
--- camel/trunk/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcProducer.java
(original)
+++ camel/trunk/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcProducer.java
Tue Aug 31 14:24:18 2010
@@ -97,8 +97,8 @@ public class JdbcProducer extends Defaul
             }
         }
 
-        // preserve headers
-        exchange.getOut().setHeaders(exchange.getIn().getHeaders());
+        // populate headers
+        exchange.getOut().getHeaders().putAll(exchange.getIn().getHeaders());
     }
 
     /**



Mime
View raw message