Hi Neha, 1. Use bindy(Java way) 2. Use xslt
Get the message from from uri, send it to java code or xslt which u prefer and then send to to uri I am not a java guy so prefer xslt If flat file is fixed length, substring will help while creating elements If its csv or any delimited, google and you will get recursive functions in xslt which will parse the file and create out structure. Thanks and Regards, Vanshul Chawla -----Original Message----- From: nehachauhan1029 [mailto:nehachauhan1...@gmail.com] Sent: Thursday, April 23, 2015 11:50 PM To: users@camel.apache.org Subject: How to convert flat file to xml using camel ? i have a requirement in my project to convert flat file to xml . How can i achieve this using camel ? -- View this message in context: http://camel.465427.n5.nabble.com/How-to-convert-flat-file-to-xml-using-camel-tp5766241.html Sent from the Camel - Users mailing list archive at Nabble.com.