On Sat, Dec 8, 2012 at 10:21 AM, Pontus Ullgren <ullg...@gmail.com> wrote:
> 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

Yeah I would like to see compression support for files in Camel.

In the past we had a look at Apache Commons VFS but that project died back then.
Though it seems they got back again and have released 2.0.

I would suggest to look at this. And possible create a camel-vfs component.
http://commons.apache.org/vfs/

Then we can support zip / tar / gzip etc

>
> On Sat, Dec 8, 2012 at 4:03 AM, Hadrian Zbarcea <hzbar...@gmail.com> 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.
>>>
>>



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to