camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale King <>
Subject Re: Using Camel File component to Poll a directory (but not read the files)
Date Mon, 19 Aug 2013 14:02:06 GMT
I think from looking at the code that the file content is not read at the
time of polling. The content will not actually be read until you examine
the body. So if you followed the file consumer with a setBody to change the
body to something else, the content will never be read.

On Mon, Aug 19, 2013 at 9:34 AM, deepak_a <> 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)
> Is there a way to achieve this using File component? or any other component
> that will help me achieve this?
> regards
> D
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Dale King

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message