Hi
I have already tried
from("file:insert_request.sql").splitter(body(String.class).tokenize("\n")).to("jdbc:dataSource");
The problem is that only the first line is send as a message.:-(
When I use
from("file:insert_request.sql").splitter(body(String.class).tokenize("\n")).to("file:dataSource.txt"),
I get only the first line in the output file.
cmdr
--
View this message in context:
http://www.nabble.com/use-of-splitter-component-to-split-serialised-JaxB-tp10899172s22882p15189225.html
Sent from the Camel - Users mailing list archive at Nabble.com.