You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/10/30 07:19:39 UTC
[camel] 01/04: CAMEL-15770 - Fixed docs about
kafkaHeaderDeserializer
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit f32d50fb4b82f1c9204e72e5d3d47de592125cdf
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Oct 30 08:11:14 2020 +0100
CAMEL-15770 - Fixed docs about kafkaHeaderDeserializer
---
components/camel-kafka/src/main/docs/kafka-component.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/components/camel-kafka/src/main/docs/kafka-component.adoc b/components/camel-kafka/src/main/docs/kafka-component.adoc
index 0e1408b..eced7a3 100644
--- a/components/camel-kafka/src/main/docs/kafka-component.adoc
+++ b/components/camel-kafka/src/main/docs/kafka-component.adoc
@@ -562,9 +562,9 @@ Since kafka headers allows only `byte[]` values, in order camel exchnage header
otherwise header will be skipped.
Following header value types are supported: `String`, `Integer`, `Long`, `Double`, `Boolean`, `byte[]`.
Note: all headers propagated *from* kafka *to* camel exchange will contain `byte[]` value by default.
-In order to override default functionality uri parameters can be set: `kafkaHeaderDeserializer` for `from` route and `kafkaHeaderSerializer` for `to` route. Example:
+In order to override default functionality uri parameters can be set: `headerDeserializer` for `from` route and `kafkaHeaderSerializer` for `to` route. Example:
```
-from("kafka:my_topic?kafkaHeaderDeserializer=#myDeserializer")
+from("kafka:my_topic?headerDeserializer=#myDeserializer")
...
.to("kafka:my_topic?kafkaHeaderSerializer=#mySerializer")
```