Hi The intend was for it to work like a tail.
Feel free to create a JIRA for a new option to let it start again from the beginning. If you have a good idea for the name of such option then write that in the ticket. And as we love contributions, patches is welcome. http://camel.apache.org/contributing.html On Fri, May 6, 2011 at 1:18 PM, Mark Doyle <markjohndo...@googlemail.com> wrote: > Hi all, > > When streaming a file in < 2.7 like this: > > <camel:from > uri="stream:file?fileName={{tmpacket.file}}&scanStream={{scan.stream}}&scanStreamDelay={{stream.delay}}" > /> > > The stream restarted from the beginning when reaching the end of the file. I > believe it now acts like the tail command and "waits" at the end of the file > for more data. > > Perhaps that was always the intent, however, if not, is there a way to set > it to restart on EOF? I can't see anything on the stream page that says > this. It can be a useful feature to continually stream the data on a loop > from a file. > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com CamelOne 2011: http://fusesource.com/camelone2011/ Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/