camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary <gary.mi...@ge.com>
Subject Re: HELP Camel Splitter Question - thanks in advance
Date Fri, 10 Jun 2016 19:49:54 GMT
can you use tokenize with simple under split ???  if so it doesn't work . 

    <route id="testInRoute" autoStartup="true">
	    <from id="mainProcessingRoute" ref="sedaAscii" />
	    <log message="Main In Test Route received file ${file:name}" />
	    	<split streaming="true" >
                 <simple>${body}</simple>
				<tokenize token="\r\n|\n" regex="true"/>
				<log message="Split line ${body}"/>
				<to
uri="{{outputUri}}?fileName=/${file:name.noext}-${date:now:yyyy-MM-dd}.${file:name.ext}"/>
			</split> 
			<log message="Aggregated Message Body: ${body}" />   
     </route>



--
View this message in context: http://camel.465427.n5.nabble.com/HELP-Camel-Splitter-Question-thanks-in-advance-tp5783810p5783895.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message