camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akoufoudakis <akoufouda...@gmail.com>
Subject Re: AW: Can we load log files into some database using Camel?
Date Mon, 08 Dec 2014 13:06:09 GMT
So, finally, you could use the combination of stream component and jpa
component, as Jan noted:

from("stream:file?fileName...")
       .to("jpa:my.etl.LogContent");

Alternatively, you can also use SQL or JDBC component to store it in the
database.
You can also use bean component between stream and JPA/SQL/JDBC, if you want
to do something tricky with the content.



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

Mime
View raw message