This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 6598c48ad1e0825c51d7d719cf624086460a69ef Author: Otavio Rodolfo Piske <angusyo...@gmail.com> AuthorDate: Wed Feb 21 09:18:09 2024 +0100 CAMEL-20410: documentation fixes for camel-jackson-avro - Fixed samples - Fixed grammar and typos - Fixed punctuation - Added and/or fixed links - Converted to use tabs --- .../src/main/docs/avroJackson-dataformat.adoc | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/components/camel-jackson-avro/src/main/docs/avroJackson-dataformat.adoc b/components/camel-jackson-avro/src/main/docs/avroJackson-dataformat.adoc index 9e1f34d306c..619c7f5dcaf 100644 --- a/components/camel-jackson-avro/src/main/docs/avroJackson-dataformat.adoc +++ b/components/camel-jackson-avro/src/main/docs/avroJackson-dataformat.adoc @@ -30,12 +30,12 @@ from("kafka:topic"). to("log:info"); ------------------------------- -== Configuring the SchemaResolver +== Configuring the `SchemaResolver` Since Avro serialization is schema-based, this data format requires that you provide a SchemaResolver object -that is able to lookup the schema for each exchange that is going to be marshalled/unmarshalled. +that is able to look up the schema for each exchange that is going to be marshalled/unmarshalled. -You can add a single SchemaResolver to the registry and it will be looked up automatically. +You can add a single SchemaResolver to the registry, and it will be looked up automatically. Or you can explicitly specify the reference to a custom SchemaResolver. == Avro Jackson Options @@ -49,16 +49,15 @@ include::partial$dataformat-options.adoc[] You can configure `JacksonAvroDataFormat` to use a custom `AvroMapper` in case you need more control of the mapping configuration. -If you setup a single `AvroMapper` in the registry, then Camel will automatic lookup and use this `AvroMapper`. +If you set up a single `AvroMapper` in the registry, then Camel will automatic lookup and use this `AvroMapper`. == Dependencies -To use Avro Jackson in your camel routes you need to add the dependency -on *camel-jackson-avro* which implements this data format. +To use Avro Jackson in your Camel routes, you need to add the dependency +on *camel-jackson-avro*, which implements this data format. -If you use maven you could just add the following to your pom.xml, -substituting the version number for the latest & greatest release (see -the download page for the latest versions). +If you use Maven, you could add the following to your pom.xml, +substituting the version number for the latest & greatest release. [source,xml] ----------------------------------------------------------