http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/timer/springboot/TimerComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/timer/springboot/TimerComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/timer/springboot/TimerComponentAutoConfiguration.java index 94f4e99..76c6fad 100644 --- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/timer/springboot/TimerComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/timer/springboot/TimerComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class TimerComponentAutoConfiguration extends AllNestedConditions { } IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), component, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && componentConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (ComponentCustomizer<TimerComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<TimerComponent> customizer : customizers) { + LOGGER.debug("Configure component {}, with customizer {}", + component, customizer); + customizer.customize(component); } } return component;
http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/validator/springboot/ValidatorComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/validator/springboot/ValidatorComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/validator/springboot/ValidatorComponentAutoConfiguration.java index 8e15205..9b16ec6 100644 --- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/validator/springboot/ValidatorComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/validator/springboot/ValidatorComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class ValidatorComponentAutoConfiguration extends AllNestedConditions { } IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), component, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && componentConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (ComponentCustomizer<ValidatorComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<ValidatorComponent> customizer : customizers) { + LOGGER.debug("Configure component {}, with customizer {}", + component, customizer); + customizer.customize(component); } } return component; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/vm/springboot/VmComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/vm/springboot/VmComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/vm/springboot/VmComponentAutoConfiguration.java index dfa71e5..ec55efb 100644 --- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/vm/springboot/VmComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/vm/springboot/VmComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class VmComponentAutoConfiguration extends AllNestedConditions { } IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), component, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && componentConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (ComponentCustomizer<VmComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<VmComponent> customizer : customizers) { + LOGGER.debug("Configure component {}, with customizer {}", + component, customizer); + customizer.customize(component); } } return component; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/xslt/springboot/XsltComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/xslt/springboot/XsltComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/xslt/springboot/XsltComponentAutoConfiguration.java index 8f49ef3..faa8408 100644 --- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/xslt/springboot/XsltComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/xslt/springboot/XsltComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class XsltComponentAutoConfiguration extends AllNestedConditions { } IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), component, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && componentConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (ComponentCustomizer<XsltComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<XsltComponent> customizer : customizers) { + LOGGER.debug("Configure component {}, with customizer {}", + component, customizer); + customizer.customize(component); } } return component; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/impl/springboot/GzipDataFormatAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/impl/springboot/GzipDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/impl/springboot/GzipDataFormatAutoConfiguration.java index 25d1627..5f357d7 100644 --- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/impl/springboot/GzipDataFormatAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/impl/springboot/GzipDataFormatAutoConfiguration.java @@ -111,15 +111,15 @@ public class GzipDataFormatAutoConfiguration extends AllNestedConditions { } catch (Exception e) { throw new RuntimeCamelException(e); } - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && dataformatConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (DataFormatCustomizer<GzipDataFormat> configurer : customizers) { + && dataformatConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (DataFormatCustomizer<GzipDataFormat> customizer : customizers) { LOGGER.debug( - "Configure dataformat {}, with configurer {}", - dataformat, configurer); - configurer.customize(dataformat); + "Configure dataformat {}, with customizer {}", + dataformat, customizer); + customizer.customize(dataformat); } } return dataformat; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/impl/springboot/SerializationDataFormatAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/impl/springboot/SerializationDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/impl/springboot/SerializationDataFormatAutoConfiguration.java index 7aff8e1..62b89b0 100644 --- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/impl/springboot/SerializationDataFormatAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/impl/springboot/SerializationDataFormatAutoConfiguration.java @@ -114,15 +114,15 @@ public class SerializationDataFormatAutoConfiguration } catch (Exception e) { throw new RuntimeCamelException(e); } - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && dataformatConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (DataFormatCustomizer<SerializationDataFormat> configurer : customizers) { + && dataformatConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (DataFormatCustomizer<SerializationDataFormat> customizer : customizers) { LOGGER.debug( - "Configure dataformat {}, with configurer {}", - dataformat, configurer); - configurer.customize(dataformat); + "Configure dataformat {}, with customizer {}", + dataformat, customizer); + customizer.customize(dataformat); } } return dataformat; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/impl/springboot/StringDataFormatAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/impl/springboot/StringDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/impl/springboot/StringDataFormatAutoConfiguration.java index 115d691..36d21c6 100644 --- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/impl/springboot/StringDataFormatAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/impl/springboot/StringDataFormatAutoConfiguration.java @@ -112,15 +112,15 @@ public class StringDataFormatAutoConfiguration extends AllNestedConditions { } catch (Exception e) { throw new RuntimeCamelException(e); } - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && dataformatConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (DataFormatCustomizer<StringDataFormat> configurer : customizers) { + && dataformatConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (DataFormatCustomizer<StringDataFormat> customizer : customizers) { LOGGER.debug( - "Configure dataformat {}, with configurer {}", - dataformat, configurer); - configurer.customize(dataformat); + "Configure dataformat {}, with customizer {}", + dataformat, customizer); + customizer.customize(dataformat); } } return dataformat; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/impl/springboot/ZipDataFormatAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/impl/springboot/ZipDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/impl/springboot/ZipDataFormatAutoConfiguration.java index ea64e86..96d3c65 100644 --- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/impl/springboot/ZipDataFormatAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/impl/springboot/ZipDataFormatAutoConfiguration.java @@ -111,15 +111,15 @@ public class ZipDataFormatAutoConfiguration extends AllNestedConditions { } catch (Exception e) { throw new RuntimeCamelException(e); } - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && dataformatConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (DataFormatCustomizer<ZipDataFormat> configurer : customizers) { + && dataformatConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (DataFormatCustomizer<ZipDataFormat> customizer : customizers) { LOGGER.debug( - "Configure dataformat {}, with configurer {}", - dataformat, configurer); - configurer.customize(dataformat); + "Configure dataformat {}, with customizer {}", + dataformat, customizer); + customizer.customize(dataformat); } } return dataformat; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/bean/springboot/BeanLanguageAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/bean/springboot/BeanLanguageAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/bean/springboot/BeanLanguageAutoConfiguration.java index 2c9a3e9..acde5c0 100644 --- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/bean/springboot/BeanLanguageAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/bean/springboot/BeanLanguageAutoConfiguration.java @@ -102,14 +102,14 @@ public class BeanLanguageAutoConfiguration extends AllNestedConditions { null, false); IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), language, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && languageConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (LanguageCustomizer<BeanLanguage> configurer : customizers) { - LOGGER.debug("Configure language {}, with configurer {}", - language, configurer); - configurer.customize(language); + && languageConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (LanguageCustomizer<BeanLanguage> customizer : customizers) { + LOGGER.debug("Configure language {}, with customizer {}", + language, customizer); + customizer.customize(language); } } return language; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/constant/springboot/ConstantLanguageAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/constant/springboot/ConstantLanguageAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/constant/springboot/ConstantLanguageAutoConfiguration.java index ecf1c57..f44220b 100644 --- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/constant/springboot/ConstantLanguageAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/constant/springboot/ConstantLanguageAutoConfiguration.java @@ -102,14 +102,14 @@ public class ConstantLanguageAutoConfiguration extends AllNestedConditions { null, false); IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), language, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && languageConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (LanguageCustomizer<ConstantLanguage> configurer : customizers) { - LOGGER.debug("Configure language {}, with configurer {}", - language, configurer); - configurer.customize(language); + && languageConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (LanguageCustomizer<ConstantLanguage> customizer : customizers) { + LOGGER.debug("Configure language {}, with customizer {}", + language, customizer); + customizer.customize(language); } } return language; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/header/springboot/HeaderLanguageAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/header/springboot/HeaderLanguageAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/header/springboot/HeaderLanguageAutoConfiguration.java index 449245d..5728aad 100644 --- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/header/springboot/HeaderLanguageAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/header/springboot/HeaderLanguageAutoConfiguration.java @@ -102,14 +102,14 @@ public class HeaderLanguageAutoConfiguration extends AllNestedConditions { null, false); IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), language, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && languageConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (LanguageCustomizer<HeaderLanguage> configurer : customizers) { - LOGGER.debug("Configure language {}, with configurer {}", - language, configurer); - configurer.customize(language); + && languageConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (LanguageCustomizer<HeaderLanguage> customizer : customizers) { + LOGGER.debug("Configure language {}, with customizer {}", + language, customizer); + customizer.customize(language); } } return language; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/property/springboot/ExchangePropertyLanguageAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/property/springboot/ExchangePropertyLanguageAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/property/springboot/ExchangePropertyLanguageAutoConfiguration.java index c164c3e..c8af697 100644 --- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/property/springboot/ExchangePropertyLanguageAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/property/springboot/ExchangePropertyLanguageAutoConfiguration.java @@ -106,14 +106,14 @@ public class ExchangePropertyLanguageAutoConfiguration null, false); IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), language, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && languageConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (LanguageCustomizer<ExchangePropertyLanguage> configurer : customizers) { - LOGGER.debug("Configure language {}, with configurer {}", - language, configurer); - configurer.customize(language); + && languageConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (LanguageCustomizer<ExchangePropertyLanguage> customizer : customizers) { + LOGGER.debug("Configure language {}, with customizer {}", + language, customizer); + customizer.customize(language); } } return language; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/ref/springboot/RefLanguageAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/ref/springboot/RefLanguageAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/ref/springboot/RefLanguageAutoConfiguration.java index e4982c6..6209ae6 100644 --- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/ref/springboot/RefLanguageAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/ref/springboot/RefLanguageAutoConfiguration.java @@ -102,14 +102,14 @@ public class RefLanguageAutoConfiguration extends AllNestedConditions { null, false); IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), language, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && languageConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (LanguageCustomizer<RefLanguage> configurer : customizers) { - LOGGER.debug("Configure language {}, with configurer {}", - language, configurer); - configurer.customize(language); + && languageConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (LanguageCustomizer<RefLanguage> customizer : customizers) { + LOGGER.debug("Configure language {}, with customizer {}", + language, customizer); + customizer.customize(language); } } return language; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/simple/springboot/FileLanguageAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/simple/springboot/FileLanguageAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/simple/springboot/FileLanguageAutoConfiguration.java index 0e300e2..44c6094 100644 --- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/simple/springboot/FileLanguageAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/simple/springboot/FileLanguageAutoConfiguration.java @@ -102,14 +102,14 @@ public class FileLanguageAutoConfiguration extends AllNestedConditions { null, false); IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), language, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && languageConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (LanguageCustomizer<FileLanguage> configurer : customizers) { - LOGGER.debug("Configure language {}, with configurer {}", - language, configurer); - configurer.customize(language); + && languageConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (LanguageCustomizer<FileLanguage> customizer : customizers) { + LOGGER.debug("Configure language {}, with customizer {}", + language, customizer); + customizer.customize(language); } } return language; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/simple/springboot/SimpleLanguageAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/simple/springboot/SimpleLanguageAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/simple/springboot/SimpleLanguageAutoConfiguration.java index b209726..d0fbc8e 100644 --- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/simple/springboot/SimpleLanguageAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/simple/springboot/SimpleLanguageAutoConfiguration.java @@ -102,14 +102,14 @@ public class SimpleLanguageAutoConfiguration extends AllNestedConditions { null, false); IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), language, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && languageConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (LanguageCustomizer<SimpleLanguage> configurer : customizers) { - LOGGER.debug("Configure language {}, with configurer {}", - language, configurer); - configurer.customize(language); + && languageConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (LanguageCustomizer<SimpleLanguage> customizer : customizers) { + LOGGER.debug("Configure language {}, with customizer {}", + language, customizer); + customizer.customize(language); } } return language; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/tokenizer/springboot/TokenizeLanguageAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/tokenizer/springboot/TokenizeLanguageAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/tokenizer/springboot/TokenizeLanguageAutoConfiguration.java index 64d1b55..0a38257 100644 --- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/tokenizer/springboot/TokenizeLanguageAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/tokenizer/springboot/TokenizeLanguageAutoConfiguration.java @@ -102,14 +102,14 @@ public class TokenizeLanguageAutoConfiguration extends AllNestedConditions { null, false); IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), language, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && languageConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (LanguageCustomizer<TokenizeLanguage> configurer : customizers) { - LOGGER.debug("Configure language {}, with configurer {}", - language, configurer); - configurer.customize(language); + && languageConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (LanguageCustomizer<TokenizeLanguage> customizer : customizers) { + LOGGER.debug("Configure language {}, with customizer {}", + language, customizer); + customizer.customize(language); } } return language; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/tokenizer/springboot/XMLTokenizeLanguageAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/tokenizer/springboot/XMLTokenizeLanguageAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/tokenizer/springboot/XMLTokenizeLanguageAutoConfiguration.java index 4ea63e9..6c2ed11 100644 --- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/tokenizer/springboot/XMLTokenizeLanguageAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/tokenizer/springboot/XMLTokenizeLanguageAutoConfiguration.java @@ -102,14 +102,14 @@ public class XMLTokenizeLanguageAutoConfiguration extends AllNestedConditions { null, false); IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), language, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && languageConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (LanguageCustomizer<XMLTokenizeLanguage> configurer : customizers) { - LOGGER.debug("Configure language {}, with configurer {}", - language, configurer); - configurer.customize(language); + && languageConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (LanguageCustomizer<XMLTokenizeLanguage> customizer : customizers) { + LOGGER.debug("Configure language {}, with customizer {}", + language, customizer); + customizer.customize(language); } } return language; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/xpath/springboot/XPathLanguageAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/xpath/springboot/XPathLanguageAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/xpath/springboot/XPathLanguageAutoConfiguration.java index ed388b1..435d70b 100644 --- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/xpath/springboot/XPathLanguageAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/xpath/springboot/XPathLanguageAutoConfiguration.java @@ -102,14 +102,14 @@ public class XPathLanguageAutoConfiguration extends AllNestedConditions { null, false); IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), language, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && languageConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (LanguageCustomizer<XPathLanguage> configurer : customizers) { - LOGGER.debug("Configure language {}, with configurer {}", - language, configurer); - configurer.customize(language); + && languageConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (LanguageCustomizer<XPathLanguage> customizer : customizers) { + LOGGER.debug("Configure language {}, with customizer {}", + language, customizer); + customizer.customize(language); } } return language; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-couchbase-starter/src/main/java/org/apache/camel/component/couchbase/springboot/CouchbaseComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-couchbase-starter/src/main/java/org/apache/camel/component/couchbase/springboot/CouchbaseComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-couchbase-starter/src/main/java/org/apache/camel/component/couchbase/springboot/CouchbaseComponentAutoConfiguration.java index 3df5591..fa3bfbb 100644 --- a/platforms/spring-boot/components-starter/camel-couchbase-starter/src/main/java/org/apache/camel/component/couchbase/springboot/CouchbaseComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-couchbase-starter/src/main/java/org/apache/camel/component/couchbase/springboot/CouchbaseComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class CouchbaseComponentAutoConfiguration extends AllNestedConditions { } IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), component, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && componentConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (ComponentCustomizer<CouchbaseComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<CouchbaseComponent> customizer : customizers) { + LOGGER.debug("Configure component {}, with customizer {}", + component, customizer); + customizer.customize(component); } } return component; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-couchdb-starter/src/main/java/org/apache/camel/component/couchdb/springboot/CouchDbComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-couchdb-starter/src/main/java/org/apache/camel/component/couchdb/springboot/CouchDbComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-couchdb-starter/src/main/java/org/apache/camel/component/couchdb/springboot/CouchDbComponentAutoConfiguration.java index 143735d..493050d 100644 --- a/platforms/spring-boot/components-starter/camel-couchdb-starter/src/main/java/org/apache/camel/component/couchdb/springboot/CouchDbComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-couchdb-starter/src/main/java/org/apache/camel/component/couchdb/springboot/CouchDbComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class CouchDbComponentAutoConfiguration extends AllNestedConditions { } IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), component, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && componentConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (ComponentCustomizer<CouchDbComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<CouchDbComponent> customizer : customizers) { + LOGGER.debug("Configure component {}, with customizer {}", + component, customizer); + customizer.customize(component); } } return component; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-crypto-starter/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-crypto-starter/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-crypto-starter/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentAutoConfiguration.java index 114211b..79a147f 100644 --- a/platforms/spring-boot/components-starter/camel-crypto-starter/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-crypto-starter/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentAutoConfiguration.java @@ -117,14 +117,14 @@ public class DigitalSignatureComponentAutoConfiguration } IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), component, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && componentConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (ComponentCustomizer<DigitalSignatureComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<DigitalSignatureComponent> customizer : customizers) { + LOGGER.debug("Configure component {}, with customizer {}", + component, customizer); + customizer.customize(component); } } return component; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-crypto-starter/src/main/java/org/apache/camel/converter/crypto/springboot/CryptoDataFormatAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-crypto-starter/src/main/java/org/apache/camel/converter/crypto/springboot/CryptoDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-crypto-starter/src/main/java/org/apache/camel/converter/crypto/springboot/CryptoDataFormatAutoConfiguration.java index 0a0a743..bac83bd 100644 --- a/platforms/spring-boot/components-starter/camel-crypto-starter/src/main/java/org/apache/camel/converter/crypto/springboot/CryptoDataFormatAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-crypto-starter/src/main/java/org/apache/camel/converter/crypto/springboot/CryptoDataFormatAutoConfiguration.java @@ -112,15 +112,15 @@ public class CryptoDataFormatAutoConfiguration extends AllNestedConditions { } catch (Exception e) { throw new RuntimeCamelException(e); } - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && dataformatConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (DataFormatCustomizer<CryptoDataFormat> configurer : customizers) { + && dataformatConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (DataFormatCustomizer<CryptoDataFormat> customizer : customizers) { LOGGER.debug( - "Configure dataformat {}, with configurer {}", - dataformat, configurer); - configurer.customize(dataformat); + "Configure dataformat {}, with customizer {}", + dataformat, customizer); + customizer.customize(dataformat); } } return dataformat; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-crypto-starter/src/main/java/org/apache/camel/converter/crypto/springboot/PGPDataFormatAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-crypto-starter/src/main/java/org/apache/camel/converter/crypto/springboot/PGPDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-crypto-starter/src/main/java/org/apache/camel/converter/crypto/springboot/PGPDataFormatAutoConfiguration.java index 4d739ac..29c3ec4 100644 --- a/platforms/spring-boot/components-starter/camel-crypto-starter/src/main/java/org/apache/camel/converter/crypto/springboot/PGPDataFormatAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-crypto-starter/src/main/java/org/apache/camel/converter/crypto/springboot/PGPDataFormatAutoConfiguration.java @@ -111,15 +111,15 @@ public class PGPDataFormatAutoConfiguration extends AllNestedConditions { } catch (Exception e) { throw new RuntimeCamelException(e); } - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && dataformatConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (DataFormatCustomizer<PGPDataFormat> configurer : customizers) { + && dataformatConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (DataFormatCustomizer<PGPDataFormat> customizer : customizers) { LOGGER.debug( - "Configure dataformat {}, with configurer {}", - dataformat, configurer); - configurer.customize(dataformat); + "Configure dataformat {}, with customizer {}", + dataformat, customizer); + customizer.customize(dataformat); } } return dataformat; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-csv-starter/src/main/java/org/apache/camel/dataformat/csv/springboot/CsvDataFormatAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-csv-starter/src/main/java/org/apache/camel/dataformat/csv/springboot/CsvDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-csv-starter/src/main/java/org/apache/camel/dataformat/csv/springboot/CsvDataFormatAutoConfiguration.java index 3d7efd4..5a44d6f 100644 --- a/platforms/spring-boot/components-starter/camel-csv-starter/src/main/java/org/apache/camel/dataformat/csv/springboot/CsvDataFormatAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-csv-starter/src/main/java/org/apache/camel/dataformat/csv/springboot/CsvDataFormatAutoConfiguration.java @@ -111,15 +111,15 @@ public class CsvDataFormatAutoConfiguration extends AllNestedConditions { } catch (Exception e) { throw new RuntimeCamelException(e); } - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && dataformatConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (DataFormatCustomizer<CsvDataFormat> configurer : customizers) { + && dataformatConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (DataFormatCustomizer<CsvDataFormat> customizer : customizers) { LOGGER.debug( - "Configure dataformat {}, with configurer {}", - dataformat, configurer); - configurer.customize(dataformat); + "Configure dataformat {}, with customizer {}", + dataformat, customizer); + customizer.customize(dataformat); } } return dataformat; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-cxf-starter/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-cxf-starter/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-cxf-starter/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentAutoConfiguration.java index a0bfd66..7dd0606 100644 --- a/platforms/spring-boot/components-starter/camel-cxf-starter/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-cxf-starter/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class CxfRsComponentAutoConfiguration extends AllNestedConditions { } IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), component, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && componentConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (ComponentCustomizer<CxfRsComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<CxfRsComponent> customizer : customizers) { + LOGGER.debug("Configure component {}, with customizer {}", + component, customizer); + customizer.customize(component); } } return component; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-cxf-starter/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-cxf-starter/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-cxf-starter/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentAutoConfiguration.java index e73b1f5..31a9d7e 100644 --- a/platforms/spring-boot/components-starter/camel-cxf-starter/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-cxf-starter/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class CxfComponentAutoConfiguration extends AllNestedConditions { } IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), component, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && componentConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (ComponentCustomizer<CxfComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<CxfComponent> customizer : customizers) { + LOGGER.debug("Configure component {}, with customizer {}", + component, customizer); + customizer.customize(component); } } return component; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-digitalocean-starter/src/main/java/org/apache/camel/component/digitalocean/springboot/DigitalOceanComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-digitalocean-starter/src/main/java/org/apache/camel/component/digitalocean/springboot/DigitalOceanComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-digitalocean-starter/src/main/java/org/apache/camel/component/digitalocean/springboot/DigitalOceanComponentAutoConfiguration.java index b337233..adda1cb 100644 --- a/platforms/spring-boot/components-starter/camel-digitalocean-starter/src/main/java/org/apache/camel/component/digitalocean/springboot/DigitalOceanComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-digitalocean-starter/src/main/java/org/apache/camel/component/digitalocean/springboot/DigitalOceanComponentAutoConfiguration.java @@ -115,14 +115,14 @@ public class DigitalOceanComponentAutoConfiguration extends AllNestedConditions } IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), component, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && componentConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (ComponentCustomizer<DigitalOceanComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<DigitalOceanComponent> customizer : customizers) { + LOGGER.debug("Configure component {}, with customizer {}", + component, customizer); + customizer.customize(component); } } return component; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-disruptor-starter/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-disruptor-starter/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-disruptor-starter/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentAutoConfiguration.java index 26c3125..eff0bdd 100644 --- a/platforms/spring-boot/components-starter/camel-disruptor-starter/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-disruptor-starter/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class DisruptorComponentAutoConfiguration extends AllNestedConditions { } IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), component, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && componentConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (ComponentCustomizer<DisruptorComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<DisruptorComponent> customizer : customizers) { + LOGGER.debug("Configure component {}, with customizer {}", + component, customizer); + customizer.customize(component); } } return component; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-disruptor-starter/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-disruptor-starter/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-disruptor-starter/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentAutoConfiguration.java index 45ce68a..0cf740e 100644 --- a/platforms/spring-boot/components-starter/camel-disruptor-starter/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-disruptor-starter/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentAutoConfiguration.java @@ -115,14 +115,14 @@ public class DisruptorVmComponentAutoConfiguration extends AllNestedConditions { } IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), component, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && componentConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (ComponentCustomizer<DisruptorVmComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<DisruptorVmComponent> customizer : customizers) { + LOGGER.debug("Configure component {}, with customizer {}", + component, customizer); + customizer.customize(component); } } return component; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-dns-starter/src/main/java/org/apache/camel/component/dns/springboot/DnsComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-dns-starter/src/main/java/org/apache/camel/component/dns/springboot/DnsComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-dns-starter/src/main/java/org/apache/camel/component/dns/springboot/DnsComponentAutoConfiguration.java index b6c2233..24f0dfd 100644 --- a/platforms/spring-boot/components-starter/camel-dns-starter/src/main/java/org/apache/camel/component/dns/springboot/DnsComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-dns-starter/src/main/java/org/apache/camel/component/dns/springboot/DnsComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class DnsComponentAutoConfiguration extends AllNestedConditions { } IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), component, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && componentConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (ComponentCustomizer<DnsComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<DnsComponent> customizer : customizers) { + LOGGER.debug("Configure component {}, with customizer {}", + component, customizer); + customizer.customize(component); } } return component; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-docker-starter/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-docker-starter/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-docker-starter/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentAutoConfiguration.java index 659a4a2..02470cf 100644 --- a/platforms/spring-boot/components-starter/camel-docker-starter/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-docker-starter/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class DockerComponentAutoConfiguration extends AllNestedConditions { } IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), component, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && componentConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (ComponentCustomizer<DockerComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<DockerComponent> customizer : customizers) { + LOGGER.debug("Configure component {}, with customizer {}", + component, customizer); + customizer.customize(component); } } return component; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-dozer-starter/src/main/java/org/apache/camel/component/dozer/springboot/DozerComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-dozer-starter/src/main/java/org/apache/camel/component/dozer/springboot/DozerComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-dozer-starter/src/main/java/org/apache/camel/component/dozer/springboot/DozerComponentAutoConfiguration.java index cb737e3..a411a70 100644 --- a/platforms/spring-boot/components-starter/camel-dozer-starter/src/main/java/org/apache/camel/component/dozer/springboot/DozerComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-dozer-starter/src/main/java/org/apache/camel/component/dozer/springboot/DozerComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class DozerComponentAutoConfiguration extends AllNestedConditions { } IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), component, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && componentConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (ComponentCustomizer<DozerComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<DozerComponent> customizer : customizers) { + LOGGER.debug("Configure component {}, with customizer {}", + component, customizer); + customizer.customize(component); } } return component; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-drill-starter/src/main/java/org/apache/camel/component/drill/springboot/DrillComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-drill-starter/src/main/java/org/apache/camel/component/drill/springboot/DrillComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-drill-starter/src/main/java/org/apache/camel/component/drill/springboot/DrillComponentAutoConfiguration.java index 67b8562..8c8cf56 100644 --- a/platforms/spring-boot/components-starter/camel-drill-starter/src/main/java/org/apache/camel/component/drill/springboot/DrillComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-drill-starter/src/main/java/org/apache/camel/component/drill/springboot/DrillComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class DrillComponentAutoConfiguration extends AllNestedConditions { } IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), component, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && componentConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (ComponentCustomizer<DrillComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<DrillComponent> customizer : customizers) { + LOGGER.debug("Configure component {}, with customizer {}", + component, customizer); + customizer.customize(component); } } return component; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-dropbox-starter/src/main/java/org/apache/camel/component/dropbox/springboot/DropboxComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-dropbox-starter/src/main/java/org/apache/camel/component/dropbox/springboot/DropboxComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-dropbox-starter/src/main/java/org/apache/camel/component/dropbox/springboot/DropboxComponentAutoConfiguration.java index b5b6d75..fdf025f 100644 --- a/platforms/spring-boot/components-starter/camel-dropbox-starter/src/main/java/org/apache/camel/component/dropbox/springboot/DropboxComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-dropbox-starter/src/main/java/org/apache/camel/component/dropbox/springboot/DropboxComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class DropboxComponentAutoConfiguration extends AllNestedConditions { } IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), component, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && componentConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (ComponentCustomizer<DropboxComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<DropboxComponent> customizer : customizers) { + LOGGER.debug("Configure component {}, with customizer {}", + component, customizer); + customizer.customize(component); } } return component; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-ehcache-starter/src/main/java/org/apache/camel/component/ehcache/springboot/EhcacheComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-ehcache-starter/src/main/java/org/apache/camel/component/ehcache/springboot/EhcacheComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-ehcache-starter/src/main/java/org/apache/camel/component/ehcache/springboot/EhcacheComponentAutoConfiguration.java index 79466cc..13646cd 100644 --- a/platforms/spring-boot/components-starter/camel-ehcache-starter/src/main/java/org/apache/camel/component/ehcache/springboot/EhcacheComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-ehcache-starter/src/main/java/org/apache/camel/component/ehcache/springboot/EhcacheComponentAutoConfiguration.java @@ -114,10 +114,10 @@ public class EhcacheComponentAutoConfiguration extends AllNestedConditions { } IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), component, parameters); - boolean useConfigurers = globalConfiguration.getCustomizer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() && componentConfiguration.getCustomizer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { for (ComponentCustomizer<EhcacheComponent> customizer : customizers) { LOGGER.debug("Configure component {}, with customizer {}", component, customizer); http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-elasticsearch-starter/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-elasticsearch-starter/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-elasticsearch-starter/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentAutoConfiguration.java index 4dc7f93..56604f8 100644 --- a/platforms/spring-boot/components-starter/camel-elasticsearch-starter/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-elasticsearch-starter/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentAutoConfiguration.java @@ -117,14 +117,14 @@ public class ElasticsearchComponentAutoConfiguration } IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), component, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && componentConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (ComponentCustomizer<ElasticsearchComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<ElasticsearchComponent> customizer : customizers) { + LOGGER.debug("Configure component {}, with customizer {}", + component, customizer); + customizer.customize(component); } } return component; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-elasticsearch5-starter/src/main/java/org/apache/camel/component/elasticsearch5/springboot/ElasticsearchComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-elasticsearch5-starter/src/main/java/org/apache/camel/component/elasticsearch5/springboot/ElasticsearchComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-elasticsearch5-starter/src/main/java/org/apache/camel/component/elasticsearch5/springboot/ElasticsearchComponentAutoConfiguration.java index 2515dee..513e7ea 100644 --- a/platforms/spring-boot/components-starter/camel-elasticsearch5-starter/src/main/java/org/apache/camel/component/elasticsearch5/springboot/ElasticsearchComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-elasticsearch5-starter/src/main/java/org/apache/camel/component/elasticsearch5/springboot/ElasticsearchComponentAutoConfiguration.java @@ -117,14 +117,14 @@ public class ElasticsearchComponentAutoConfiguration } IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), component, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && componentConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (ComponentCustomizer<ElasticsearchComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<ElasticsearchComponent> customizer : customizers) { + LOGGER.debug("Configure component {}, with customizer {}", + component, customizer); + customizer.customize(component); } } return component; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-elsql-starter/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-elsql-starter/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-elsql-starter/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentAutoConfiguration.java index 3ed3f9c..71f501a 100644 --- a/platforms/spring-boot/components-starter/camel-elsql-starter/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-elsql-starter/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class ElsqlComponentAutoConfiguration extends AllNestedConditions { } IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), component, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && componentConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (ComponentCustomizer<ElsqlComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<ElsqlComponent> customizer : customizers) { + LOGGER.debug("Configure component {}, with customizer {}", + component, customizer); + customizer.customize(component); } } return component; http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-etcd-starter/src/main/java/org/apache/camel/component/etcd/springboot/EtcdComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-etcd-starter/src/main/java/org/apache/camel/component/etcd/springboot/EtcdComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-etcd-starter/src/main/java/org/apache/camel/component/etcd/springboot/EtcdComponentAutoConfiguration.java index 4cf2343..bfe9e61 100644 --- a/platforms/spring-boot/components-starter/camel-etcd-starter/src/main/java/org/apache/camel/component/etcd/springboot/EtcdComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-etcd-starter/src/main/java/org/apache/camel/component/etcd/springboot/EtcdComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class EtcdComponentAutoConfiguration extends AllNestedConditions { } IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), component, parameters); - boolean useConfigurers = globalConfiguration.getConfigurer() + boolean useCustomizers = globalConfiguration.getCustomizer() .isEnabled() - && componentConfiguration.getConfigurer().isEnabled(); - if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) { - for (ComponentCustomizer<EtcdComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<EtcdComponent> customizer : customizers) { + LOGGER.debug("Configure component {}, with customizer {}", + component, customizer); + customizer.customize(component); } } return component;