I have a route that looks like this <camel:route id="myImportRoute" errorHandlerRef="myImportErrorHandler"> <camel:from uri="file:/data/import/in/?move=/data/import/processed"/> <camel:split streaming="true"> <camel:tokenize token="\n" /> <camel:unmarshal ref="bindyImportformat"/> <camel:to uri="bean:importLineHandler?method=handleImport"/> </camel:split> </camel:route>
<bean id="bindyWinnerformat" class="org.apache.camel.dataformat.bindy.csv.BindyCsvDataFormat"> <constructor-arg value="myBean" /> </bean> if the route has to process a file that contains an empty line at the end (I suppose that if I have an empty line in the middle of the file, the problem will be the same) then the process restarts from the beginning of the file and so on ... infinite loop. The problem is only happening on Linux, I could not reproduce it on windows. Is it due to the token separator \n ? What could be done to put safe guards and avoid that something like this happen even if have empty lines in my file ? -- View this message in context: http://camel.465427.n5.nabble.com/Bindy-infinite-loop-tp5739879.html Sent from the Camel - Users mailing list archive at Nabble.com.