I do not agree with you. The current data formater do support compressing files with the zip alorithm but from what I can tell clarkcb has created a processor that do handle multi-file archives. Something the current data formater does not handle.
However Gunnar Hillert has a similar processor: http://hillert.blogspot.se/2009/10/camellos-iii-zipping-files-with-apache.html Based on Hillerts code I've also created a aggretion strategy that compresses multiple exchanges into one zip file (not yet published but will come to a github repo soon). So clarkcb do as Willem suggest. Create a github repo and publish your code for comments. Preferably I would see a patch to the existing zip dataformater to support multi file archives. // Pontus On Sat, Dec 8, 2012 at 4:03 AM, Hadrian Zbarcea <[email protected]> wrote: > It does work with files, i.e. messages are the file content. There is also a > camel-exec that is easy to use. Unfortunately I don't think your > contribution would be a good addition to the camel distro. > > Thanks for using Camel though and we appreciate your contribution. > Hadrian > > > On 12/07/2012 01:41 AM, clarkcb wrote: >> >> Hi Willem, >> >> My understanding is that the existing zip and unzip marshalling are for >> messages, not files. Please see this topic: >> http://camel.465427.n5.nabble.com/Zip-format-problem-td477268.html >> <http://camel.465427.n5.nabble.com/Zip-format-problem-td477268.html> . >> >> Please correct me if I'm wrong, but it seems like a file-unzip component >> would satisfy an existing need. >> >> Thanks. >> >> >> >> -- >> View this message in context: >> http://camel.465427.n5.nabble.com/I-created-a-basic-file-unzip-camel-component-tp5723748p5723750.html >> Sent from the Camel - Users mailing list archive at Nabble.com. >> >
