[ 
https://issues.apache.org/activemq/browse/CAMEL-203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Strachan resolved CAMEL-203.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3.0

patch applied with thanks! 

> FileComponent sometimes creates file instead of directory
> ---------------------------------------------------------
>
>                 Key: CAMEL-203
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-203
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 1.2.0
>         Environment: WinXP
>            Reporter: Arjan Moraal
>             Fix For: 1.3.0
>
>         Attachments: FileProducer.patch
>
>
> When using the FileComponent ("file://") to publish to a non-existent 
> directory tree, the last part of the path is created as file instead of 
> directory. It only happens when setting the filename in the header 
> (FileComponent.HEADER_FILE_NAME).
> This is because the method that determines the file name (which checks 
> whether a directory exists), is called before the directory tree is built.
> See also 
> http://www.nabble.com/Problem-with-concurrent-dir-file-access--tf4724448s22882.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to