You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Arjan Moraal (JIRA)" <ji...@apache.org> on 2007/11/19 09:18:27 UTC

[jira] Closed: (CAMEL-203) FileComponent sometimes creates file instead of directory

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

Arjan Moraal closed CAMEL-203.
------------------------------


Thanks James!

> 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.