Hi Sumatheja,

I think what you need is the "delay" option, not "consumer.delay".
See the Consumer URI Options in http://camel.apache.org/file2.html :

delay (default 500) : Milliseconds before the next poll of the
file/directory

Stéphane

On Sat, May 28, 2011 at 9:12 PM, sumatheja <[email protected]> wrote:

> Hi Tarreq,
>              I'm directing the output to another end point everthing other
> than the polling part is working fine.... find the complete route below
>
>
> from("file:src/data?consumer.delay=10000")
>                                         .unmarshal().bindy(BindyType.Csv,
> "camelinaction")
>                                        .to("mock:result");
>
>
> I'm reading a csv file and unmarshalling it.... just want to scan for the
> csv fiules periodically.
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/File-Poller-tp4435442p4435613.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to