You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Luca Burgazzoli (Jira)" <ji...@apache.org> on 2020/03/06 13:49:00 UTC
[jira] [Created] (CAMEL-14672) Invoke ComponentCustomizer as part
of component initialization
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)