Thank you for your response, I tried to use zip-dataformat but I am getting
the same issue, the generate file cannot be extracted or opened and it
mentioned that it's a damaged file:
The route that I used is:

         from("restlet:/test")
             .setHeader("Content-type",constant("application/zip") )
             .setHeader("Pragma",constant( "public"))
             .setHeader("Content-Disposition",constant( "attachment;
filename=test.zip"))
             .setBody(constant("file Content"))
             .marshal()
             .zip();



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-restlet-zipped-response-tp5751420p5751423.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to