[
https://issues.apache.org/activemq/browse/CAMEL-1112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47701#action_47701
]
Claus Ibsen commented on CAMEL-1112:
------------------------------------
D:\project\camel\camel-core>svn commit --message "CAMEL-1112: Refactored file
consumer. Removed @deprected. Added idempotent option. Work in progress as
sorting and filtering is needed."
Sending
camel-core\src\main\java\org\apache\camel\component\file\FileComponent.java
Sending
camel-core\src\main\java\org\apache\camel\component\file\FileConsumer.java
Sending
camel-core\src\main\java\org\apache\camel\component\file\FileEndpoint.java
Deleting
camel-core\src\test\java\org\apache\camel\component\file\FileAlwaysConsumeFalseTest.java
Deleting
camel-core\src\test\java\org\apache\camel\component\file\FileAlwaysConsumeTest.java
Adding
camel-core\src\test\java\org\apache\camel\component\file\FileConsumerBatchTest.java
Adding
camel-core\src\test\java\org\apache\camel\component\file\FileConsumerIdempotentRefTest.java
Adding
camel-core\src\test\java\org\apache\camel\component\file\FileConsumerIdempotentTest.java
Sending
camel-core\src\test\java\org\apache\camel\component\file\FileDeleteRouteTest.java
Deleting
camel-core\src\test\java\org\apache\camel\component\file\FileRouteGenerateEmptyExchangeWhenIdleTest.java
Sending
camel-core\src\test\java\org\apache\camel\component\file\MoveFilesToDirectoryTest.java
Sending
camel-core\src\test\java\org\apache\camel\component\file\MoveFilesToDirectoryWithNoopTest.java
Transmitting file data .........
Committed revision 721695.
> add orderby to file/ftp/sftp component to get files in a reliable order (e.g.
> created date)
> -------------------------------------------------------------------------------------------
>
> Key: CAMEL-1112
> URL: https://issues.apache.org/activemq/browse/CAMEL-1112
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 1.5.0
> Environment: Windows XP, JDK 1.5, Apache Camel 1.5
> Reporter: Dario Sanna
> Assignee: Claus Ibsen
> Fix For: 2.0.0
>
>
> when reading files from file,ftp/sftp component, it is often neccesarry to
> get the files in a predifined order (e.g. created date or filename).
> to solve this, an extra uri parameter could be used, to set the order of
> files beeing processed.
> ordering can be done after reading the file-list.
> i know this can also be solved by applying a resequencer pattern in the
> route, but i think for large files it would be hard to apply this.
> also a processing in an created date order would be more natural.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.