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