CAMEL-14263: camel-thrift should use source code generated configurer to avoid reflection configuration.
diff --git a/components/camel-thrift/src/main/java/org/apache/camel/component/thrift/ThriftComponent.java b/components/camel-thrift/src/main/java/org/apache/camel/component/thrift/ThriftComponent.java
index addd6ba..973215f 100644
--- a/components/camel-thrift/src/main/java/org/apache/camel/component/thrift/ThriftComponent.java
+++ b/components/camel-thrift/src/main/java/org/apache/camel/component/thrift/ThriftComponent.java
@@ -45,10 +45,9 @@
             sslParameters = retrieveGlobalSslContextParameters();
             config.setSslParameters(sslParameters);
         }
-        
-        setProperties(config, parameters);
+        ThriftEndpoint endpoint = new ThriftEndpoint(uri, this, config);
+        setProperties(endpoint, parameters);
 
-        Endpoint endpoint = new ThriftEndpoint(uri, this, config);
         return endpoint;
     }