camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akoufoudakis <akoufouda...@gmail.com>
Subject Re: Can we load log files into some database using Camel?
Date Mon, 08 Dec 2014 12:23:06 GMT
Well, to read a file you definitely need to use camel file2 component.
However, I don't know whether reading a non-completed files (because, it is
a log file and, as you said, is appended by new log entries) is a proper way
to use this component.

Say, it can be done and it is not a misuse. Do you want to have a new row
for each new version of the file or do you want to update the existing row,
if a row with the file already exists in the database.

Finally, do you want to keep log files in their initial directory or to move
them somewhere?



--
View this message in context: http://camel.465427.n5.nabble.com/Can-we-load-log-files-into-some-database-using-Camel-tp5760290p5760299.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message