This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch tc-loader
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/tc-loader by this push:
new 76803d2 CAMEL-13313: Add support for generating type converter loader
source code to be able to load component type converters in a faster way
76803d2 is described below
commit 76803d2dde503a8d10b778574b9ecb8960d9f6aa
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Mar 18 11:19:02 2019 +0100
CAMEL-13313: Add support for generating type converter loader source code
to be able to load component type converters in a faster way
---
docs/user-manual/modules/ROOT/pages/type-converter.adoc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/docs/user-manual/modules/ROOT/pages/type-converter.adoc
b/docs/user-manual/modules/ROOT/pages/type-converter.adoc
index cbd6e33..d185a78 100644
--- a/docs/user-manual/modules/ROOT/pages/type-converter.adoc
+++ b/docs/user-manual/modules/ROOT/pages/type-converter.adoc
@@ -147,6 +147,9 @@ be registered in the type converter registry. However
invoking these type conver
does **not** happen in a _fast way_ but uses Java method call reflection. It
is therefore
recommended to migrate your type converters to use the faster way. See further
below.
+TIP: You can turn off the fallback of discovering Camel 2.x compatible type
converters by
+setting the `loadTypeConverters` option to `false` on `CamelContext`.
+
The converter classes must be annotated on the top class level with the
`@Converter` annotation,
and each converter method as well.