You can use noop=true, the message body is just java.io.File so the
data wont be loaded in memory out of the box.

On Mon, Aug 19, 2013 at 3:34 PM, deepak_a <[email protected]> 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: 
> http://camel.465427.n5.nabble.com/Using-Camel-File-component-to-Poll-a-directory-but-not-read-the-files-tp5737510.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to