This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-3.14.x in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.14.x by this push: new 9fb6e0e Update zipdeflater-dataformat.adoc 9fb6e0e is described below commit 9fb6e0e7122a82188398e9db60ffe1eb41340dee Author: Chirag Sanghavi <csangh...@manh.com> AuthorDate: Tue Feb 1 00:00:22 2022 -0500 Update zipdeflater-dataformat.adoc A dependency is required to use gzipDeflater and zipDeflater --- .../src/main/docs/gzipdeflater-dataformat.adoc | 12 ++++++++++-- .../src/main/docs/zipdeflater-dataformat.adoc | 15 ++++++++++++++- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/components/camel-zip-deflater/src/main/docs/gzipdeflater-dataformat.adoc b/components/camel-zip-deflater/src/main/docs/gzipdeflater-dataformat.adoc index da1a41b..8bf986c 100644 --- a/components/camel-zip-deflater/src/main/docs/gzipdeflater-dataformat.adoc +++ b/components/camel-zip-deflater/src/main/docs/gzipdeflater-dataformat.adoc @@ -56,8 +56,16 @@ from("activemq:queue:MY_QUEUE").unmarshal().gzipDeflater().process(new UnGZipped == Dependencies -This data format is provided in *camel-core* so no additional -dependencies is needed. +Maven users will need to add the following dependency to their pom.xml for this component: +[source,xml] +---- +<dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-zip-deflater</artifactId> + <!-- use the same version as your Camel core version --> + <version>x.x.x</version> +</dependency> +---- include::spring-boot:partial$starter.adoc[] diff --git a/components/camel-zip-deflater/src/main/docs/zipdeflater-dataformat.adoc b/components/camel-zip-deflater/src/main/docs/zipdeflater-dataformat.adoc index b0f06be..47884a1 100644 --- a/components/camel-zip-deflater/src/main/docs/zipdeflater-dataformat.adoc +++ b/components/camel-zip-deflater/src/main/docs/zipdeflater-dataformat.adoc @@ -60,8 +60,21 @@ unmarshalling to avoid errors. [source,java] ---- -from("activemq:queue:MY_QUEUE").unmarshal().zipDeflater().process(new UnZippedMessageProcessor()); +from("activemq:queue:MY_QUEUE").unmarshal().zipDeflater().process(new UnZippedMessageProcessor()); ---- +== Dependencies + +Maven users will need to add the following dependency to their pom.xml for this component: + +[source,xml] +---- +<dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-zip-deflater</artifactId> + <!-- use the same version as your Camel core version --> + <version>x.x.x</version> +</dependency> +---- include::spring-boot:partial$starter.adoc[]