Hi,
I am reading a file using the stream camel component. But the problem is
when file gets rolled out then camel is not reading the newly generated file
with the same name.

    from("stream:file?fileName=myfile&scanStream=true&scanStreamDelay=1000")

The above route will read the current file "myfile". But if this gets rolled
out to "myfile_1" and a new file with same name"myfile" gets generated then
camel is not reading the newly generated "myfile". Any idea why this is
happening. Is there any way to read "myfile" always eventhough a new file is
generated with the same name and old one gets rolled out.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Reading-a-file-using-camel-stream-component-tp5766108.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to