You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2008/07/13 14:39:02 UTC

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

Author: davsclaus
Date: Sun Jul 13 05:39:02 2008
New Revision: 676311

URL: http://svn.apache.org/viewvc?rev=676311&view=rev
Log:
CAMEL-713: FileProducer had faulty code that would consume the file if it was a out capable exchange. Introduced new header FileComponent.HEADER_FILE_NAME_PRODUCED containing the absolute filepath for the file produced.

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

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/FileComponent.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/FileComponent.java?rev=676311&r1=676310&r2=676311&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/FileComponent.java (original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/FileComponent.java Sun Jul 13 05:39:02 2008
@@ -32,13 +32,14 @@
 public class FileComponent extends DefaultComponent<FileExchange> {
 
     /**
-     * Header key hold the value: the fixed filename to use for prodcuing files.
+     * Header key holding the value: the fixed filename to use for producing files.
      */
     public static final String HEADER_FILE_NAME = "org.apache.camel.file.name";
 
 
     /**
-     * Header key holding the value: absolute filepath for the file produced.
+     * Header key holding the value: absolute filepath for the actual file produced.
+     * Value is set automatically by Camel
      */
     public static final String HEADER_FILE_NAME_PRODUCED = "org.apache.camel.file.name.produced";