You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2020/06/22 12:46:18 UTC
[camel] 02/16: CAMEL-15224: camel-api-component - Avoid reflection
when configured nested configuration classes
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch CAMEL-15224
in repository https://gitbox.apache.org/repos/asf/camel.git
commit e5bc801147faa821e938a39fac40213cb85d3021
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Jun 22 09:47:46 2020 +0200
CAMEL-15224: camel-api-component - Avoid reflection when configured nested configuration classes
---
.../src/main/resources/api-endpoint-config.vm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-endpoint-config.vm b/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-endpoint-config.vm
index 857da11..9589207 100644
--- a/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-endpoint-config.vm
+++ b/tooling/maven/camel-api-component-maven-plugin/src/main/resources/api-endpoint-config.vm
@@ -36,6 +36,7 @@
*/
package ${componentPackage};
+import org.apache.camel.spi.Configurer;
import org.apache.camel.spi.UriParam;
import org.apache.camel.spi.UriParams;
@@ -43,6 +44,7 @@ import org.apache.camel.spi.UriParams;
* Camel EndpointConfiguration for $proxyType.Name
*/
@UriParams
+@Configurer
public final class $configName extends ${componentName}Configuration {
#foreach( $parameter in $parameters.entrySet() )