You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Ashwin Karpe (JIRA)" <ji...@apache.org> on 2008/12/01 01:30:05 UTC
[jira] Resolved: (CAMEL-1133) Add an ability to compress/inflate
messages using a zip marshaller
[ https://issues.apache.org/activemq/browse/CAMEL-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashwin Karpe resolved CAMEL-1133.
---------------------------------
Resolution: Fixed
This new capablity to compress/uncompress messages in a Message exchange on the fly using a new dataformat called zip is now implemented and ready for review.
> Add an ability to compress/inflate messages using a zip marshaller
> ------------------------------------------------------------------
>
> Key: CAMEL-1133
> URL: https://issues.apache.org/activemq/browse/CAMEL-1133
> Project: Apache Camel
> Issue Type: New Feature
> Reporter: Ashwin Karpe
> Attachments: zip_compression_feature_patch.txt, ZipCompressionFeature.zip
>
> Original Estimate: 3 days
> Remaining Estimate: 3 days
>
> At the moment there is no ability to compress and uncompress messages in a Message Exchange as they are sent/received on a Camel route.
> The benefits of having this feature are the following:
> a> ability to reduce the size of messages are they are sent in a flow to different remote destinations,
> b> ability to decompress messages just prior to being consumed at the endpoint.
> The way it would work is as follows:
> Message Deflater: (example below)
> --------------------------------------------------
> context.addRoutes(new RouteBuilder() {
> public void configure() {
> from("direct:start").marshal().zip(Deflater.BEST_COMPRESSION).process(new ZippedMessageProcessor());
> }
> });
> Message Inflater: (example below)
> ------------------------------------------------
> context.addRoutes(new RouteBuilder() {
> public void configure() {
> from("direct:start").marshal().zip().unmarshal().zip().process(new UnZippedMessageProcessor());
> }
> });
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.