[ https://issues.apache.org/activemq/browse/CAMEL-1320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49435#action_49435 ]
Roman Kalukiewicz commented on CAMEL-1320: ------------------------------------------ It is very similar to zip data format - it even uses the same deflate algorithm. The point is, that zip data format uses deflate algorithm directly, while gzip would use gzip file format, that is (I believe more popular). http://java.sun.com/j2se/1.5.0/docs/api/java/util/zip/GZIPInputStream.html http://java.sun.com/j2se/1.5.0/docs/api/java/util/zip/InflaterInputStream.html The problem with zip data format is that is is not a zip really - zip is a format that compresses set of files, while our zip data format doesn't - it just compresses data using compression algorithm of zip. On the other hand gzip is a format that compresses data (not files), uses the same algorithm, but has its own headers, that has to be interpreted. I even believe that our zip data format should be renamed to 'deflate' data format as it is the name that describes what it really is. > Create GZip Data Format > ----------------------- > > Key: CAMEL-1320 > URL: https://issues.apache.org/activemq/browse/CAMEL-1320 > Project: Apache Camel > Issue Type: New Feature > Components: camel-core > Reporter: Roman Kalukiewicz > Assignee: Roman Kalukiewicz > Priority: Minor > > Let's create gzip data format. Would be useful for http trafic that can have > Content-Encoding: gzip -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.