http://camel.apache.org/file2.html This is a polling consumer (in your case) so it will fetch all new added files. Storing its content could be something simple like from("file:logDirectory") .to("jpa:my.etl.LogContent")
where LogContent in its simplest implementation just stores the string content plus an additional generated id. With a custom TypeConverter you could also do some parsing ... Jan > -----Ursprüngliche Nachricht----- > Von: prasad [mailto:prasadbezav...@gmail.com] > Gesendet: Montag, 8. Dezember 2014 13:03 > An: users@camel.apache.org > Betreff: Re: Can we load log files into some database using Camel? > > Hi, > > Thank you so much for your Prompt response . > yeah that is my requirement ,but continuously the newly generating log > files > also have to come into my database. > > > > -- > View this message in context: http://camel.465427.n5.nabble.com/Can-we- > load-log-files-into-some-database-using-Camel-tp5760290p5760296.html > Sent from the Camel - Users mailing list archive at Nabble.com.