Hi Good idea. I do think the stream component can do this / or some of this.
The option scanStream should be able to monitor a log file http://camel.apache.org/stream Could you take a look at this and give it a test drive? On Sun, Jun 21, 2009 at 6:11 PM, Charles Moulliard <cmoulli...@gmail.com>wrote: > Hi, > > I would like to have the point of view of the others camel riders > concerning > the following component : > > File scan component > > The idea behind this component is to have an equivalent of the tail (unix > function) or mtail (under Windows) program who scan lines added to a file. > Using a filter processor in combination with this component, we scan > generates alerts, ... depending of the info discovered in the file > > I have found this idea after investigating how I can start one of my route > in camel if a FIX connection is established with FIX server. When such a > connection is established and is alive, the quickfix engine generates > entries in a log file. With the help a file scan component I could take the > decision to start or stop my routes. Why, because it makes no sense to send > messages to the quickfix endpoint if the FIX server is down, if we are > outside of business hours, .... > > Regards, > > Charles Moulliard > Senior Enterprise Architect > Apache Camel Committer > > ***************************** > blog : http://cmoulliard.blogspot.com > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus