camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Doyle <>
Subject File streaming using the Stream component in Camel 2.7 - changes
Date Fri, 06 May 2011 11:18:32 GMT
Hi all,

When streaming a file in < 2.7 like this:

<camel:from uri="stream:file?fileName={{tmpacket.file}}&amp;scanStream={{}}&amp;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.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message