camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CAMEL-1133) Add an ability to compress/inflate messages using a zip marshaller
Date Mon, 01 Dec 2008 06:49:05 GMT

     [ https://issues.apache.org/activemq/browse/CAMEL-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Willem Jiang updated CAMEL-1133:
--------------------------------

    Fix Version/s: 2.0.0
      Component/s: camel-core

> 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
>          Components: camel-core
>            Reporter: Ashwin Karpe
>            Assignee: Willem Jiang
>             Fix For: 2.0.0
>
>         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.


Mime
View raw message