camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CAMEL-1439) Camel VFS - Add a flattern option to allow consumers to slurp files recursively but yet again present it as a file with no relative paths
Date Wed, 11 Mar 2009 11:43:40 GMT

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

Claus Ibsen resolved CAMEL-1439.
--------------------------------

    Resolution: Fixed

Committed revision 752427.

> Camel VFS - Add a flattern option to allow consumers to slurp files recursively but yet
again present it as a file with no relative paths
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1439
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1439
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> If you do a:
> {code}
> from("file://inbox?recursive=true").to("file:outbox");
> {code}
> Then the files stored in the outbox will have exact same folder structure as the inbox,
eg
> {code}
> outbox/hello.txt
> outbox/sub/bye.txt
> outbox/foo/bar/baz.txt
> {code}
> We should add a flattern option, so you can do:
> {code}
> from("file://inbox?recursive=true&flattern=true").to("file:outbox");
> {code}
> So the files is stored as:
> {code}
> outbox/hello.txt
> outbox/bye.txt
> outbox/baz.txt
> {code}
> We could introduce somekind of API for the flattern so end users can provide their own
impl. to compute a filename they like.

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


Mime
View raw message