[ 
https://issues.apache.org/jira/browse/CAMEL-4474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13109534#comment-13109534
 ] 

Taariq Levack edited comment on CAMEL-4474 at 9/21/11 2:40 PM:
---------------------------------------------------------------

David can you please post a test for this?
There are tests[1] for this code so maybe you missed something with permissions 
etc, or of course maybe these tests miss something.

[1] 
https://svn.apache.org/repos/asf/camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerAutoCreateDirectoryTest.java

      was (Author: taariql):
    David can you please post a test for this?
There are tests[1] for this code so maybe you missed something with permissions 
etc.

[1] 
https://svn.apache.org/repos/asf/camel/trunk/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerAutoCreateDirectoryTest.java

  
> file: consumer does not create directory
> ----------------------------------------
>
>                 Key: CAMEL-4474
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4474
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.8.1
>         Environment: java 1.6
>            Reporter: David J. M. Karlsen
>              Labels: component, consumer, file
>
> According to http://camel.apache.org/file2.html autoCreate is true by default 
> and should for a consumer create the directory.
> {noformat}
> autoCreate    true    Automatically create missing directories in the file's 
> pathname. For the file consumer, that means creating the starting directory. 
> For the file producer, it means the directory the files should be written to. 
> {noformat}
> This does not happen and thus a route startup would fail.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to