camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: File component/language: preMove only
Date Fri, 23 Jul 2010 07:09:42 GMT

Have you tried with move=. to indicate current folder?

But no its, not a feature of camel to only pre move and then noop.

On Fri, Jul 23, 2010 at 9:03 AM, Pavel <> wrote:
> Hi,
> Is it possible to pre-move files, but not move them once processing
> complete? I use "preMove" to ensure camel from 2 different cluster nodes
> don't process the same file twice - file is moved into different directory
> and not scanned anymore.
> "move" is not necessary, as custom components performs logic on file
> archival, stores metadata in the database, etc.
> Seems like setting "move" to null should do what I need, but I'm not quite
> sure how to do that. The "&move=null" will create directory called "null",
> not specifying anything will default to ".camel", and adding "&noop=true"
> disables preMove.
> Is there something in file language that allows setting nulls? Or is there a
> way to have preMove without move for file component?
> --
> Best regards,
> Pavel

Claus Ibsen
Apache Camel Committer

Author of Camel in Action:
Open Source Integration:

View raw message