[
https://issues.apache.org/jira/browse/CAMEL-14672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17060723#comment-17060723
]
Claus Ibsen commented on CAMEL-14672:
-------------------------------------
Luca, you example are using type generics which we can't use to know which
component its a configurer for? So it would apply to all components. Or we have
to use some smarts about the method name.
> Invoke ComponentCustomizer as part of component initialization
> --------------------------------------------------------------
>
> Key: CAMEL-14672
> URL: https://issues.apache.org/jira/browse/CAMEL-14672
> Project: Camel
> Issue Type: New Feature
> Components: camel-core
> Reporter: Luca Burgazzoli
> Priority: Major
> Fix For: 3.2.0
>
>
> Camel has the concept of _ComponentCustomizer_ which is currently used only
> by spring-boot starters and I wonder if we can make it a generic concept so
> basically after configuring the component with properties, we should search
> for customizers in the camel registry and apply them to the component itself.
> Examples:
> -
> https://github.com/apache/camel-spring-boot/blob/master/components-starter/camel-ehcache-starter/src/main/java/org/apache/camel/component/ehcache/springboot/EhcacheComponentAutoConfiguration.java
> -
> https://github.com/apache/camel-spring-boot/blob/master/components-starter/camel-ehcache-starter/src/main/java/org/apache/camel/component/ehcache/springboot/EhcacheComponentAutoConfiguration.java
--
This message was sent by Atlassian Jira
(v8.3.4#803005)