camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimir Okhotnikov <>
Subject Re: Zip format problem
Date Sun, 04 Oct 2009 17:50:58 GMT

Christian Schneider wrote:
> Hmm,
> I think you are right as the Zip API is not separate it makes sense to 
> use only one DSL function. The question is then of course how would you 
> name it?
> Would you rather name the operation split(Zip) or decompress(Zip)? If 
> the operation was named decompress the tar.gz example could be done like 
> this:
> decompress(GZip).decompress(Tar)
> and zip would simply look like decompress(Zip)

"decompress" is surely way better than split.

The approach seems okay. The only thing that bothers me is that I'm still
not sure the split/aggregate behavior is specific to compression, and will
not be useful for other data formats.

Christian Schneider wrote:
> Btw. In our scenario we had the requirement that the files from the zip 
> had to be processed in a certain order. In our case the processing 
> should be done in order of the filenames.
> Any idea how this could be expressed?

decompress(Zip).resequencer()... ?
View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message