camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Reading a file using camel stream component
Date Wed, 22 Apr 2015 15:49:04 GMT

Yeah not sure how easy it is to add logic to detect when a file
rollover. Maybe it reads the first N bytes and make a hash or
something. And then if the retry do the same, and when the hash no
longer matches then its assume a new file that was rolled over, and it
beings emit the data.

On Wed, Apr 22, 2015 at 3:30 PM, Akram <> wrote:
> I tried it, but retry was keep on reading the same file again and again
> before the new file gets generated.
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
Twitter: davsclaus
Author of Camel in Action:

View raw message