I've created a route which picks up a message from a certain directory, zips it and writes it to another directory:
Although I can deploy my project without any errors to the Fuse ESB, the messages which are delivered to the endpoint never seem to be zipped.
The zip data format is not for zipping files. Its for compress a payload using the zip algorithm.
To store into a .zip file format requires manual code using API from the JDK. We may in the future though add some sort of zip/tar support for files.