Luca Burgazzoli created CAMEL-14672:
---------------------------------------

             Summary: 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
             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)

Reply via email to