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 20:49:14 GMT
this splitter route produces the same output as input. Why is this not
working? ANYONE please...

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

Split line
TIMESTAMP,ATI250,BTI1500,DFI102,DFI37,DJI101A,DPI26,DPI30A1,DPI31A1,DPI35A1,DPIC10,DPIC10.OP,DTI69,DTI73,DTI74,DTI75,DTI77,DTI79,DTI82,DTI83,DTI84,DTI85,DTI86,DTI87,DTI88,DTI89,DTIC36,DTIC36.OP,DTIC37,DTIC41,DTIC41.OP,DTIC48,DYI18,DYI18A,DYI19,DYI19A,DYI20,DYI20A1,DYI21,DYI21A1,DYI22,DYI22A1,DYI23,DYI23A1,DYI25,DZI18,DZI18A,DZI20
06/02/2016
11:00:00,83.11182,85.25974,15.319827,39202.88,8906.06,67.812416,19.513803,18.910772,0.051521227,67.84362,0.0,172.75702,177.44211,161.56288,167.08812,170.64418,161.85538,135.02374,124.45744,141.52344,138.78946,123.9396,135.78285,189.13873,158.95807,289.26904,24.801874,129.97945,204.93451,-3.017243,114.543365,0.35164836,0.46886447,0.7057387,0.5860806,0.35286936,0.41147742,0.35286936,1.058608,1.0,0.8815629,0.41147742,0.52869356,1.7578125,-7.7472515,-7.751465,31.836367
06/02/2016
11:10:00,83.14651,85.62182,15.499121,38081.36,8915.481,66.079506,19.044857,18.417181,0.052723072,66.09147,0.0,172.89377,177.46664,161.52625,167.04602,170.40738,161.7794,135.05087,124.516525,141.14775,138.70573,123.971504,135.79974,188.93773,159.66939,289.29102,24.903282,129.89502,209.31294,-1.8257241,114.49498,0.35164836,0.5860806,0.7057387,0.5860806,0.35286936,0.41147742,0.35286936,1.058608,1.0,0.8815629,0.41147742,0.52869356,2.34375,-7.9426117,-7.751465,31.835955
06/02/2016
11:20:00,83.1812,85.75211,15.678413,40976.715,8340.714,75.955605,21.831715,21.087345,0.06857401,76.24162,0.0,172.89377,177.49118,161.47742,167.0039,170.17058,161.70343,135.07802,124.57561,147.2039,148.57143,124.00341,139.50113,191.8437,163.8514,289.09302,24.69261,120.84808,213.48267,8.631992,99.38679,0.35164836,0.46886447,0.7057387,0.5860806,0.35286936,0.41147742,0.35286936,1.058608,1.0,0.8815629,0.47008547,0.64713067,2.34375,-8.137972,-8.14209,31.835543
06/02/2016
11:30:00,83.2159,85.8601,15.857706,39815.52,8686.202,70.55431,20.050882,19.387545,0.055988517,70.61914,0.0,172.89377,177.51572,161.42857,166.9618,170.49617,161.62746,135.10515,124.63468,142.40363,140.52568,124.03532,135.61253,189.14589,159.44649,290.51645,24.47897,128.71399,194.28749,4.9191976,101.79856,0.35164836,0.46886447,0.7057387,0.5860806,0.35286936,0.41147742,0.35286936,1.058608,1.058608,0.94139194,0.52869356,0.5873016,1.7578125,-8.333332,-8.14209,31.83513
06/02/2016
11:40:00,83.25059,85.632416,16.036999,39347.84,8907.002,68.5851,19.758787,19.142561,0.056192607,68.67352,0.0,172.92775,177.54025,161.37973,166.91971,170.85136,161.52103,135.13228,124.69376,141.53847,139.2317,124.06722,135.52737,189.10867,159.0015,289.48517,24.464827,129.89638,194.68362,-2.1997643,108.0123,0.35164836,0.5860806,0.7057387,0.5860806,0.35286936,0.41147742,0.35286936,1.058608,1.0,0.8815629,0.41147742,0.52869356,1.7578125,-8.137972,-7.9467773,31.834719
06/02/2016
11:50:00,83.28528,86.78356,16.216291,38723.754,9032.319,66.83557,19.225636,18.60402,0.05143051,66.882904,0.0,173.01268,177.56479,161.75537,166.8776,171.20657,163.02808,135.15941,124.752846,141.6074,138.96622,124.09913,135.71786,188.96216,159.51912,289.4308,24.67399,129.75864,200.62459,-2.130173,111.07822,0.23443224,0.46886447,0.7057387,0.5860806,0.35286936,0.41147742,0.35286936,1.058608,1.0,0.8815629,0.41147742,0.52869356,1.7578125,-8.333332,-8.14209,31.834307




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

Mime
View raw message