camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r565928 - /activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/FileProducer.java
Date Tue, 14 Aug 2007 21:42:52 GMT
Author: jstrachan
Date: Tue Aug 14 14:42:51 2007
New Revision: 565928

URL: http://svn.apache.org/viewvc?view=rev&rev=565928
Log:
applied patch for CAMEL-105 from Aaron Crickenberger with thanks!

Modified:
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/FileProducer.java

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/FileProducer.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/FileProducer.java?view=diff&rev=565928&r1=565927&r2=565928
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/FileProducer.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/FileProducer.java
Tue Aug 14 14:42:51 2007
@@ -88,6 +88,7 @@
                 }
                 else {
                     fc.write(byteBuffer);
+                    byteBuffer.clear();
                 }
             }
         }



Mime
View raw message