camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Poll a directory and send the file name with notification message to queue
Date Thu, 28 Nov 2013 17:23:19 GMT
You can use noop=true which leaves the file untouched.

And Camel just stores the message body as, so if you
don't access the body on demand, or just change the body to its name

from file

On Thu, Nov 28, 2013 at 5:56 PM, rupak_sarkar <> wrote:
> Hi,
> is it possible to use file component to poll for files in directories but
> NOT actually read the file?
> <the file size is quite big - so I don't want to read the file> - but I need
> a notification message (with the file name) and send that to queue.
> Is there a way to achieve this using File component? or any other component
> that will help me achieve this?
> Thanks
> Rupak
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
Twitter: davsclaus
Author of Camel in Action:

View raw message