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 7a44d4f CAMEL-13313: Add support for generating type converter loader
source code to be able to load component type converters in a faster way
7a44d4f is described below
commit 7a44d4f8e43e974881637d6ea5019eabbf9489b1
Author: Claus Ibsen <[email protected]>
AuthorDate: Sat Mar 16 16:13:20 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
---
.../java/org/apache/camel/impl/converter/FastTypeConverterRegistry.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/core/camel-base/src/main/java/org/apache/camel/impl/converter/FastTypeConverterRegistry.java
b/core/camel-base/src/main/java/org/apache/camel/impl/converter/FastTypeConverterRegistry.java
index 23804c1..7ba6c5b 100644
---
a/core/camel-base/src/main/java/org/apache/camel/impl/converter/FastTypeConverterRegistry.java
+++
b/core/camel-base/src/main/java/org/apache/camel/impl/converter/FastTypeConverterRegistry.java
@@ -78,6 +78,7 @@ public class FastTypeConverterRegistry extends
BaseTypeConverterRegistry {
loadCoreTypeConverters();
int core = typeMappings.size();
// load type converters up front
+ log.info("Initializing fast TypeConverterRegistry - requires
converters to be annotated with @Converter(loader = true)");
loadTypeConverters();
int additional = typeMappings.size() - core;