What do you mean by start from beginning?

It ought to read line by line when the file is appended. And if a new
file is created it starts from top again.
If you shutdown Camel, it does not remember where it was last time,
and start all over again

On Fri, Mar 24, 2017 at 11:28 AM, Oliver Wulff <owu...@talend.com> wrote:
> Hi there
>
>
> I've tried to use the stream input component to listen on changes within a 
> file to process the lines one by one.
>
>
> <from 
> uri="stream:file?fileName=sample.csv&amp;scanStream=true&amp;scanStreamDelay=1000&amp;retry=true"
>  />
>
>
> But I noticed it always starts from the beginning. Is there an option in 
> Camel to have "tail -f" behaviour to trigger my route?
>
>
> Thanks
>
> Oli
>



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to