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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

jstrachan-2
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();
                 }
             }
         }