Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

The GZip Data Format is a message compression and de-compression format. It uses the same deflate algorithm that is used in Zip Data FormatDataFormat, although some additional headers are provided. This format is produced by popular gzip/gunzip tool. Messages marshalled using GZip compression can be unmarshalled using GZip decompression just prior to being consumed at the endpoint. The compression capability is quite useful when you deal with large XML and Text based payloads or when you read messages previously comressed using gzip tool.

...

Code Block
from("activemq:queue:MY_QUEUE").unmarshal().zipgzip().process(new UnGZippedMessageProcessor()); 

...