Hi,

I just added a new feature to compress/uncompress payloads on a route using
a "zip" dataformat.

An example of its working is as follows.
     Message Compression:
     ----------------------
        context.addRoutes(new RouteBuilder() {
            public void configure() {
               
from("direct:start").marshal().zip(Deflater.BEST_COMPRESSION).process(new
ZippedMessageProcessor());
            }
        });

     Message Decompression:
     -----------------------

        context.addRoutes(new RouteBuilder() {
            public void configure() {
               
from("direct:start").marshal().zip().unmarshal().zip().to("direct:end");
            }
        });

Can the committers please review and commit as necessary. The associated
issue is CAMEL-1133.

Thanks and Regards,

Ashwin...

-----
--- 
Ashwin Karpe, Principal Consultant, PS - Opensource Center of Competence 
Progress Software Corporation
14 Oak Park Drive
Bedford, MA 01730
--- 
+1-972-304-9084 (Office) 
+1-972-971-1700 (Mobile) 
---- 
Blog: http://opensourceknowledge.blogspot.com/


-- 
View this message in context: 
http://www.nabble.com/Added-a-new-feature-to-compress-uncompress-payloads-on-a-route...-tp20764305s22882p20764305.html
Sent from the Camel - Development mailing list archive at Nabble.com.

Reply via email to