This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 46048a7baf3 Fix doc in camel-zip-deflater
46048a7baf3 is described below
commit 46048a7baf35d511ea0e99b45cd47a5409cffb92
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Feb 7 07:01:25 2024 +0100
Fix doc in camel-zip-deflater
---
.../src/main/docs/gzipDeflater-dataformat.adoc | 11 +++++++++--
.../src/main/docs/zipDeflater-dataformat.adoc | 12 ++++++++++++
2 files changed, 21 insertions(+), 2 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 7a7966faeea..b3f3913d3ea 100644
--- a/components/camel-zip-deflater/src/main/docs/gzipDeflater-dataformat.adoc
+++ b/components/camel-zip-deflater/src/main/docs/gzipDeflater-dataformat.adoc
@@ -57,8 +57,15 @@
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.
+If you use Maven you could just add the following to your `pom.xml`,
substituting the version number for the latest and greatest release (see the
download page for the latest versions).
+[source,xml]
+---------------------------------------
+<dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-zip-deflater</artifactId>
+ <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 9fa581a074b..b47c6dadee5 100644
--- a/components/camel-zip-deflater/src/main/docs/zipDeflater-dataformat.adoc
+++ b/components/camel-zip-deflater/src/main/docs/zipDeflater-dataformat.adoc
@@ -64,5 +64,17 @@ unmarshalling to avoid errors.
from("activemq:queue:MY_QUEUE").unmarshal().zipDeflater().process(new
UnZippedMessageProcessor());
----
+== Dependencies
+
+If you use Maven you could just add the following to your `pom.xml`,
substituting the version number for the latest and greatest release (see the
download page for the latest versions).
+
+[source,xml]
+---------------------------------------
+<dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-zip-deflater</artifactId>
+ <version>x.x.x</version>
+</dependency>
+---------------------------------------
include::spring-boot:partial$starter.adoc[]