You can try the stream component: http://camel.apache.org/stream.html
2014-11-17 21:32 GMT+01:00 Gonzalo Vasquez <[email protected]>: > Hi everybody. > > Is it possible to use the File component (or other component) as a > consumer to mimic unix 'tai'l command? What I mean is: monitor a folder / > file and do something on each new line added to such file....I guess the > streaming option would help, but not sure on how to keep the File always > open and not to end on the last available line, also I'm wondering on how > to signal a file end or something like that. > > Regards, > Gonzalo Vásquez Sáez > Gerente Investigación y Desarrollo (R&D) > Altiuz Soluciones Tecnológicas de Negocios Ltda. > Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099 > +56 2 335 2461 > [email protected] > http://www.altiuz.cl > http://www.altiuzreports.com > > > > -- -- David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen
