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 125d386c3e3dce92aeec1826eb89bd680b49697b Author: Omar Al-Safi <omars...@gmail.com> AuthorDate: Fri Sep 6 09:36:25 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 e1785fc..c4562cb 100644 --- a/components/camel-debezium/src/main/docs/debezium-component.adoc +++ b/components/camel-debezium/src/main/docs/debezium-component.adoc @@ -192,7 +192,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 https://camel.apache.org/manual/latest/type-converter.html[Type Converter] that converts from +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. 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.