[ 
https://issues.apache.org/activemq/browse/CAMEL-1148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47895#action_47895
 ] 

Claus Ibsen commented on CAMEL-1148:
------------------------------------

D:\project\camel\camel-core>svn commit --message "CAMEL-1148: Added options pre 
move options to move file before processing"
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
Sending        
camel-core\src\main\java\org\apache\camel\component\file\FileExchange.java
Sending        
camel-core\src\main\java\org\apache\camel\component\file\strategy\FileProcessStrategyFactory.java
Sending        
camel-core\src\main\java\org\apache\camel\component\file\strategy\RenameFileProcessStrategy.java
Adding         
camel-core\src\test\java\org\apache\camel\component\file\FileConsumerBeginAndCommitExpressionRenameStrategyTest.java
Adding         
camel-core\src\test\java\org\apache\camel\component\file\FileConsumerBeginAndCommitRenameStrategyTest.java
Adding         
camel-core\src\test\java\org\apache\camel\component\file\FileConsumerBeginExpressionRenameStrategyTest.java
Adding         
camel-core\src\test\java\org\apache\camel\component\file\FileConsumerBeginRenameStrategyTest.java
Adding         
camel-core\src\test\java\org\apache\camel\component\file\FileConsumerCommitRenameStrategyTest.java
Deleting       
camel-core\src\test\java\org\apache\camel\component\file\FileProducerRenameStrategyTest.java
Transmitting file data ..........
Committed revision 723835.

> Add capability to move files prior to routing messages
> ------------------------------------------------------
>
>                 Key: CAMEL-1148
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1148
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 1.5.0
>            Reporter: Christopher Hammack
>            Assignee: Claus Ibsen
>             Fix For: 1.5.1, 2.0.0
>
>
> From http://www.nabble.com/Concerns-about-File-endpoint-td20802855s22882.html
> I'd like to suggest that you add a "preMove" option as it seems to be pretty 
> much a requirement for doing clustered seda-style processing from a file 
> endpoint.
> The use case for this is a very large number of small files is being dropped 
> into a directory.  This directory is then being scanned by camel's file 
> endpoint.  The files as they are discovered are then moved to the .camel 
> directory, and the filename is put onto a jms endpoint.  A clustered set of 
> camel processors then pull the filename off the endpoint and process the 
> file, and then delete it. 

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

Reply via email to