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 129ba315ced0b1e5bdee04078d87483d27d91360
Author: Omar Al-Safi <omars...@gmail.com>
AuthorDate: Fri Sep 6 09:37:04 2019 +0200

    Update components/camel-debezium/src/main/docs/debezium-component.adoc
    
    Co-Authored-By: Zoran Regvart <zo...@regvart.com>
---
 components/camel-debezium/src/main/docs/debezium-component.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-debezium/src/main/docs/debezium-component.adoc 
b/components/camel-debezium/src/main/docs/debezium-component.adoc
index c4562cb..4035e13 100644
--- a/components/camel-debezium/src/main/docs/debezium-component.adoc
+++ b/components/camel-debezium/src/main/docs/debezium-component.adoc
@@ -193,7 +193,7 @@ 
from("debezium:mysql?name=dbz-test-1&offsetStorageFileName=/usr/offset-file-1.da
 
 By default, the component will emit the events in the body and 
`CamelDebeziumBefore` header as 
https://kafka.apache.org/22/javadoc/org/apache/kafka/connect/data/Struct.html[`Struct`]
 data type, the reasoning behind this, is to perceive the schema information in 
case is needed.
 However, the component as well contains a 
xref:manual::type-converter.adoc[Type Converter] that converts from
-from default output type of 
https://kafka.apache.org/22/javadoc/org/apache/kafka/connect/data/Struct.html[`Struct`]
 to `Map` in order to leverage Camel's rich 
https://camel.apache.org/manual/latest/data-format.html[Data Format] types 
which many of them work out of box with `Map` data type.
+from default output type of 
https://kafka.apache.org/22/javadoc/org/apache/kafka/connect/data/Struct.html[`Struct`]
 to `Map` in order to leverage Camel's rich xref:manual::data-format.adoc[Data 
Format] types which many of them work out of box with `Map` data type.
 To use it, you can either add `Map.class` type when you access the message 
e.g: `exchange.getIn().getBody(Map.class)`, or you can convert the body always 
to `Map` from the route builder by adding `.convertBodyTo(Map.class)` to your 
Camel Route DSL after `from` statement.
 
 We mentioned above about the schema, which can be used in case you need to 
perform advance data transformation and the schema is needed for that. If you 
choose not to convert your body to `Map`,

Reply via email to