Can be improved. I thought it would be interesting to the user to remember the name of the zip file. Now ZipItaror not give this information.
answer.getHeaders().putAll(inputMessage.getHeaders()); answer.setHeader("zipFileName", current.getName()); answer.setHeader(Exchange.FILE_NAME, current.getName()); It has been ${header.camelFileName} = archive_file.zip ${header.zipFileName} = attached_file_name It has become ${header.camelFileName} = attached_file_name ${header.zipFileName} = attached_file_name What for? Alexey -- View this message in context: http://camel.465427.n5.nabble.com/zip-file-best-practices-tp5713437p5741856.html Sent from the Camel - Users mailing list archive at Nabble.com.