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:02:34 UTC

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

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.


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

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_38899 ] 

Guillaume Nodet commented on SM-894:
------------------------------------

Just use the existing flags.  I don't see why it would break existing code,
so there's no need to add another flag ;-)

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


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

Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gert Vanthienen updated SM-894:
-------------------------------

    Attachment: SM-894.patch

This should do the trick...

> 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
>         Attachments: SM-894.patch
>
>
> 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.


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

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet updated SM-894:
-------------------------------

    Patch Info: [Patch Available]

> 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
>         Attachments: SM-894.patch
>
>
> 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.


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

Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved SM-894.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 3.2
         Assignee: Guillaume Nodet

URL: http://svn.apache.org/viewvc?view=rev&rev=522867


> 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
>         Assigned To: Guillaume Nodet
>             Fix For: 3.2
>
>         Attachments: SM-894.patch
>
>
> 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.