camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Hammack (JIRA)" <j...@apache.org>
Subject [jira] Created: (CAMEL-1148) Add capability to move files prior to routing messages
Date Thu, 04 Dec 2008 15:34:05 GMT
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.


Mime
View raw message