camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdifrango <ron.difra...@gmail.com>
Subject Re: File Processor Not deleting the files
Date Mon, 07 May 2012 16:11:30 GMT
OK...so it does not seem to fully correct the issue:

public void configure() {
			
from("file:perf?delete=true&idempotent=true").convertBodyTo(String.class)
						.split(body().tokenize("\n")).streaming()
						.process(lineSplitter)
						.to("jdbc:dataSource?resetAutoCommit=false").end();
			}

I'll try loading the entire file into memory next.

--
View this message in context: http://camel.465427.n5.nabble.com/File-Processor-Not-deleting-the-files-tp5670301p5691470.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message