You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Gert Vanthienen (JIRA)" <ji...@apache.org> on 2007/03/22 14:04:34 UTC

[jira] Commented: (SM-894) Auto-create directory when file name contains subdirectories

    [ https://issues.apache.org/activemq/browse/SM-894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_38896 ] 

Gert Vanthienen commented on SM-894:
------------------------------------

Is it OK if I simply modify servicemix-file's FileSenderEndpoint to create any subdirectories depending on the same autoCreateDirectory attribute (thus slightly changing the semantics of the existing attribute) or should I 'invent' another attribute for this?

> Auto-create directory when file name contains subdirectories
> ------------------------------------------------------------
>
>                 Key: SM-894
>                 URL: https://issues.apache.org/activemq/browse/SM-894
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-file
>    Affects Versions: 3.1
>            Reporter: Gert Vanthienen
>
> I'm using a servicemix-file sender component to archive messages on the local file system.  I would like to create a subdirectory for each message type (order, dispatch advice, ...).  It is possible to use /  in the marshaler's file name XML element to specify the subdirectory, but it is not being automatically created.  The autoCreateDirectory attribute currently only refers to the sender' output directory itself, not to any subdirectories that are specified in the file name. 

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