I am reading a file using the stream camel component. The behaviour expected is the following :
- Read the stream
- When the file roll over, start the reading the file from the begining
My code :
The problem with the code above is that the same file is read every 1000ms. The component don't check is the file was rolled over.
Thanks in advance.