This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.14.x in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.14.x by this push: new 225a392 Update camel-3x-upgrade-guide-3_4.adoc (#6850) 225a392 is described below commit 225a3921406500bb8f1bc44ad7f513e54acfde65 Author: Chirag <csangh...@manh.com> AuthorDate: Sat Jan 29 03:01:23 2022 -0500 Update camel-3x-upgrade-guide-3_4.adoc (#6850) Added clarification to custom type converters --- .../user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_4.adoc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_4.adoc b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_4.adoc index 7b65c35..d44b615 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_4.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_4.adoc @@ -65,8 +65,9 @@ import static org.apache.camel.builder.Builder.language; === Using custom type converters -If you are using custom type converters and they have not source code generated a loader class (by `@Converter(generateLoader = true)`) -then Camel needs to be instructed to scan for custom converters. This can be done as shown: +If you are using custom type converters, you can now generate loader classes and have Camel discover them automatically. To generate loader class, Change `@Converter` to `@Converter(generateLoader = true)` at class level and implement maven plugin as described in xref:camel-component-maven-plugin.adoc[here]. + +If a loader class is not to be used, Camel needs to be instructed to scan for custom converters. This can be done as shown: [source,java] ---- @@ -150,5 +151,3 @@ You need to have a look at the following issue for more information: https://iss === Camel-Karaf Removed `camel-hdfs` and `camel-pulsar` Karaf features. - -