camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j_pramanik_ind <jayanta.prama...@gmail.com>
Subject Re: File content missing in Copied File using Camel XML DSL
Date Fri, 25 Apr 2014 07:21:53 GMT
Hi Charles,

Thanks for your reply. I changed my DSL as below but it didn't work as what
I need. The file is not copied to target folder. Can you please suggest any
other way -


                         *<route id="route1">
				<from uri="file:E:\\bankappfiles\\received?delete=true" />
				<log message="Title Name [${body}]"/>
				
				<choice>
					<when>
						<simple> ${body} contains 'ATM'</simple> 
						<log message="For ATM :: [${body}]"/>	
						<to uri="file:E:\\bankappfiles\\atm?noop=true" />									   
					</when>
					<when>
						<simple>${body} contains 'NEFT'</simple>	
						<log message="For NEFT :: [${body}]"/>					
						<to uri="file:E:\\bankappfiles\\neft?noop=true" />
					</when>
				</choice>
				
			</route>*



Thanks. 

Jayanta P.




--
View this message in context: http://camel.465427.n5.nabble.com/File-content-missing-in-Copied-File-using-Camel-XML-DSL-tp5750582p5750596.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message