http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-hl7-starter/src/main/java/org/apache/camel/component/hl7/springboot/HL7DataFormatAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-hl7-starter/src/main/java/org/apache/camel/component/hl7/springboot/HL7DataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-hl7-starter/src/main/java/org/apache/camel/component/hl7/springboot/HL7DataFormatAutoConfiguration.java index 119cd5c..98f4d65 100644 --- a/platforms/spring-boot/components-starter/camel-hl7-starter/src/main/java/org/apache/camel/component/hl7/springboot/HL7DataFormatAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-hl7-starter/src/main/java/org/apache/camel/component/hl7/springboot/HL7DataFormatAutoConfiguration.java @@ -111,15 +111,15 @@ public class HL7DataFormatAutoConfiguration 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<HL7DataFormat> configurer : customizers) { + && dataformatConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (DataFormatCustomizer<HL7DataFormat> 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-hl7-starter/src/main/java/org/apache/camel/component/hl7/springboot/TerserLanguageAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-hl7-starter/src/main/java/org/apache/camel/component/hl7/springboot/TerserLanguageAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-hl7-starter/src/main/java/org/apache/camel/component/hl7/springboot/TerserLanguageAutoConfiguration.java index 6765299..d291ce7 100644 --- a/platforms/spring-boot/components-starter/camel-hl7-starter/src/main/java/org/apache/camel/component/hl7/springboot/TerserLanguageAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-hl7-starter/src/main/java/org/apache/camel/component/hl7/springboot/TerserLanguageAutoConfiguration.java @@ -102,14 +102,14 @@ public class TerserLanguageAutoConfiguration 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<TerserLanguage> configurer : customizers) { - LOGGER.debug("Configure language {}, with configurer {}", - language, configurer); - configurer.customize(language); + && languageConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (LanguageCustomizer<TerserLanguage> 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-http-starter/src/main/java/org/apache/camel/component/http/springboot/HttpComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-http-starter/src/main/java/org/apache/camel/component/http/springboot/HttpComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-http-starter/src/main/java/org/apache/camel/component/http/springboot/HttpComponentAutoConfiguration.java index 05e56a3..d1bbd2c 100644 --- a/platforms/spring-boot/components-starter/camel-http-starter/src/main/java/org/apache/camel/component/http/springboot/HttpComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-http-starter/src/main/java/org/apache/camel/component/http/springboot/HttpComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class HttpComponentAutoConfiguration 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<HttpComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<HttpComponent> 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-http4-starter/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-http4-starter/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-http4-starter/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentAutoConfiguration.java index 37b6aca..06dbbe0 100644 --- a/platforms/spring-boot/components-starter/camel-http4-starter/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-http4-starter/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class HttpComponentAutoConfiguration 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<HttpComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<HttpComponent> 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-ical-starter/src/main/java/org/apache/camel/component/ical/springboot/ICalDataFormatAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-ical-starter/src/main/java/org/apache/camel/component/ical/springboot/ICalDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-ical-starter/src/main/java/org/apache/camel/component/ical/springboot/ICalDataFormatAutoConfiguration.java index 288c0ab..ce17ac5 100644 --- a/platforms/spring-boot/components-starter/camel-ical-starter/src/main/java/org/apache/camel/component/ical/springboot/ICalDataFormatAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-ical-starter/src/main/java/org/apache/camel/component/ical/springboot/ICalDataFormatAutoConfiguration.java @@ -111,15 +111,15 @@ public class ICalDataFormatAutoConfiguration 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<ICalDataFormat> configurer : customizers) { + && dataformatConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (DataFormatCustomizer<ICalDataFormat> 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-ignite-starter/src/main/java/org/apache/camel/component/ignite/cache/springboot/IgniteCacheComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/cache/springboot/IgniteCacheComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/cache/springboot/IgniteCacheComponentAutoConfiguration.java index 3d699f2..fb79afa 100644 --- a/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/cache/springboot/IgniteCacheComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/cache/springboot/IgniteCacheComponentAutoConfiguration.java @@ -115,14 +115,14 @@ public class IgniteCacheComponentAutoConfiguration 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<IgniteCacheComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<IgniteCacheComponent> 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-ignite-starter/src/main/java/org/apache/camel/component/ignite/compute/springboot/IgniteComputeComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/compute/springboot/IgniteComputeComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/compute/springboot/IgniteComputeComponentAutoConfiguration.java index 1384a3f..e5eca96 100644 --- a/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/compute/springboot/IgniteComputeComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/compute/springboot/IgniteComputeComponentAutoConfiguration.java @@ -117,14 +117,14 @@ public class IgniteComputeComponentAutoConfiguration } 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<IgniteComputeComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<IgniteComputeComponent> 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-ignite-starter/src/main/java/org/apache/camel/component/ignite/events/springboot/IgniteEventsComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/events/springboot/IgniteEventsComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/events/springboot/IgniteEventsComponentAutoConfiguration.java index 566ebf9..f603db0 100644 --- a/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/events/springboot/IgniteEventsComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/events/springboot/IgniteEventsComponentAutoConfiguration.java @@ -115,14 +115,14 @@ public class IgniteEventsComponentAutoConfiguration 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<IgniteEventsComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<IgniteEventsComponent> 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-ignite-starter/src/main/java/org/apache/camel/component/ignite/idgen/springboot/IgniteIdGenComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/idgen/springboot/IgniteIdGenComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/idgen/springboot/IgniteIdGenComponentAutoConfiguration.java index 24ad8cf..904af77 100644 --- a/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/idgen/springboot/IgniteIdGenComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/idgen/springboot/IgniteIdGenComponentAutoConfiguration.java @@ -115,14 +115,14 @@ public class IgniteIdGenComponentAutoConfiguration 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<IgniteIdGenComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<IgniteIdGenComponent> 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-ignite-starter/src/main/java/org/apache/camel/component/ignite/messaging/springboot/IgniteMessagingComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/messaging/springboot/IgniteMessagingComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/messaging/springboot/IgniteMessagingComponentAutoConfiguration.java index 2acc3d7..c968475 100644 --- a/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/messaging/springboot/IgniteMessagingComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/messaging/springboot/IgniteMessagingComponentAutoConfiguration.java @@ -117,14 +117,14 @@ public class IgniteMessagingComponentAutoConfiguration } 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<IgniteMessagingComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<IgniteMessagingComponent> 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-ignite-starter/src/main/java/org/apache/camel/component/ignite/queue/springboot/IgniteQueueComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/queue/springboot/IgniteQueueComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/queue/springboot/IgniteQueueComponentAutoConfiguration.java index 79ac73b..3857ef3 100644 --- a/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/queue/springboot/IgniteQueueComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/queue/springboot/IgniteQueueComponentAutoConfiguration.java @@ -115,14 +115,14 @@ public class IgniteQueueComponentAutoConfiguration 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<IgniteQueueComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<IgniteQueueComponent> 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-ignite-starter/src/main/java/org/apache/camel/component/ignite/set/springboot/IgniteSetComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/set/springboot/IgniteSetComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/set/springboot/IgniteSetComponentAutoConfiguration.java index 1d626b8..398d1ce 100644 --- a/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/set/springboot/IgniteSetComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-ignite-starter/src/main/java/org/apache/camel/component/ignite/set/springboot/IgniteSetComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class IgniteSetComponentAutoConfiguration 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<IgniteSetComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<IgniteSetComponent> 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-infinispan-starter/src/main/java/org/apache/camel/component/infinispan/springboot/InfinispanComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-infinispan-starter/src/main/java/org/apache/camel/component/infinispan/springboot/InfinispanComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-infinispan-starter/src/main/java/org/apache/camel/component/infinispan/springboot/InfinispanComponentAutoConfiguration.java index c034eef..94dfd58 100644 --- a/platforms/spring-boot/components-starter/camel-infinispan-starter/src/main/java/org/apache/camel/component/infinispan/springboot/InfinispanComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-infinispan-starter/src/main/java/org/apache/camel/component/infinispan/springboot/InfinispanComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class InfinispanComponentAutoConfiguration 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<InfinispanComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<InfinispanComponent> 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-influxdb-starter/src/main/java/org/apache/camel/component/influxdb/springboot/InfluxDbComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-influxdb-starter/src/main/java/org/apache/camel/component/influxdb/springboot/InfluxDbComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-influxdb-starter/src/main/java/org/apache/camel/component/influxdb/springboot/InfluxDbComponentAutoConfiguration.java index 1ceae9e..3e99e92 100644 --- a/platforms/spring-boot/components-starter/camel-influxdb-starter/src/main/java/org/apache/camel/component/influxdb/springboot/InfluxDbComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-influxdb-starter/src/main/java/org/apache/camel/component/influxdb/springboot/InfluxDbComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class InfluxDbComponentAutoConfiguration 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<InfluxDbComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<InfluxDbComponent> 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-irc-starter/src/main/java/org/apache/camel/component/irc/springboot/IrcComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-irc-starter/src/main/java/org/apache/camel/component/irc/springboot/IrcComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-irc-starter/src/main/java/org/apache/camel/component/irc/springboot/IrcComponentAutoConfiguration.java index 74f60e0..bd0c5d4 100644 --- a/platforms/spring-boot/components-starter/camel-irc-starter/src/main/java/org/apache/camel/component/irc/springboot/IrcComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-irc-starter/src/main/java/org/apache/camel/component/irc/springboot/IrcComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class IrcComponentAutoConfiguration 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<IrcComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<IrcComponent> 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-ironmq-starter/src/main/java/org/apache/camel/component/ironmq/springboot/IronMQComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-ironmq-starter/src/main/java/org/apache/camel/component/ironmq/springboot/IronMQComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-ironmq-starter/src/main/java/org/apache/camel/component/ironmq/springboot/IronMQComponentAutoConfiguration.java index 0842f46..aff18a9 100644 --- a/platforms/spring-boot/components-starter/camel-ironmq-starter/src/main/java/org/apache/camel/component/ironmq/springboot/IronMQComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-ironmq-starter/src/main/java/org/apache/camel/component/ironmq/springboot/IronMQComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class IronMQComponentAutoConfiguration 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<IronMQComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<IronMQComponent> 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-jackson-starter/src/main/java/org/apache/camel/component/jackson/springboot/JacksonDataFormatAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-jackson-starter/src/main/java/org/apache/camel/component/jackson/springboot/JacksonDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-jackson-starter/src/main/java/org/apache/camel/component/jackson/springboot/JacksonDataFormatAutoConfiguration.java index d8f1034..f1055ec 100644 --- a/platforms/spring-boot/components-starter/camel-jackson-starter/src/main/java/org/apache/camel/component/jackson/springboot/JacksonDataFormatAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-jackson-starter/src/main/java/org/apache/camel/component/jackson/springboot/JacksonDataFormatAutoConfiguration.java @@ -112,15 +112,15 @@ public class JacksonDataFormatAutoConfiguration 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<JacksonDataFormat> configurer : customizers) { + && dataformatConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (DataFormatCustomizer<JacksonDataFormat> 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-jacksonxml-starter/src/main/java/org/apache/camel/component/jacksonxml/springboot/JacksonXMLDataFormatAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-jacksonxml-starter/src/main/java/org/apache/camel/component/jacksonxml/springboot/JacksonXMLDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-jacksonxml-starter/src/main/java/org/apache/camel/component/jacksonxml/springboot/JacksonXMLDataFormatAutoConfiguration.java index f45a2ed..d15e27c 100644 --- a/platforms/spring-boot/components-starter/camel-jacksonxml-starter/src/main/java/org/apache/camel/component/jacksonxml/springboot/JacksonXMLDataFormatAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-jacksonxml-starter/src/main/java/org/apache/camel/component/jacksonxml/springboot/JacksonXMLDataFormatAutoConfiguration.java @@ -112,15 +112,15 @@ public class JacksonXMLDataFormatAutoConfiguration 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<JacksonXMLDataFormat> configurer : customizers) { + && dataformatConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (DataFormatCustomizer<JacksonXMLDataFormat> 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-javaspace-starter/src/main/java/org/apache/camel/component/javaspace/springboot/JavaSpaceComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-javaspace-starter/src/main/java/org/apache/camel/component/javaspace/springboot/JavaSpaceComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-javaspace-starter/src/main/java/org/apache/camel/component/javaspace/springboot/JavaSpaceComponentAutoConfiguration.java index 37cbca9..42486bc 100644 --- a/platforms/spring-boot/components-starter/camel-javaspace-starter/src/main/java/org/apache/camel/component/javaspace/springboot/JavaSpaceComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-javaspace-starter/src/main/java/org/apache/camel/component/javaspace/springboot/JavaSpaceComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class JavaSpaceComponentAutoConfiguration 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<JavaSpaceComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<JavaSpaceComponent> 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-jaxb-starter/src/main/java/org/apache/camel/converter/jaxb/springboot/JaxbDataFormatAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-jaxb-starter/src/main/java/org/apache/camel/converter/jaxb/springboot/JaxbDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-jaxb-starter/src/main/java/org/apache/camel/converter/jaxb/springboot/JaxbDataFormatAutoConfiguration.java index e10eae6..bb5b528 100644 --- a/platforms/spring-boot/components-starter/camel-jaxb-starter/src/main/java/org/apache/camel/converter/jaxb/springboot/JaxbDataFormatAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-jaxb-starter/src/main/java/org/apache/camel/converter/jaxb/springboot/JaxbDataFormatAutoConfiguration.java @@ -111,15 +111,15 @@ public class JaxbDataFormatAutoConfiguration 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<JaxbDataFormat> configurer : customizers) { + && dataformatConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (DataFormatCustomizer<JaxbDataFormat> 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-jbpm-starter/src/main/java/org/apache/camel/component/jbpm/springboot/JBPMComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-jbpm-starter/src/main/java/org/apache/camel/component/jbpm/springboot/JBPMComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-jbpm-starter/src/main/java/org/apache/camel/component/jbpm/springboot/JBPMComponentAutoConfiguration.java index eb1d6fe..b9ae50d 100644 --- a/platforms/spring-boot/components-starter/camel-jbpm-starter/src/main/java/org/apache/camel/component/jbpm/springboot/JBPMComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-jbpm-starter/src/main/java/org/apache/camel/component/jbpm/springboot/JBPMComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class JBPMComponentAutoConfiguration 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<JBPMComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<JBPMComponent> 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-jcache-starter/src/main/java/org/apache/camel/component/jcache/springboot/JCacheComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-jcache-starter/src/main/java/org/apache/camel/component/jcache/springboot/JCacheComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-jcache-starter/src/main/java/org/apache/camel/component/jcache/springboot/JCacheComponentAutoConfiguration.java index 1d403a1..0a4435f 100644 --- a/platforms/spring-boot/components-starter/camel-jcache-starter/src/main/java/org/apache/camel/component/jcache/springboot/JCacheComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-jcache-starter/src/main/java/org/apache/camel/component/jcache/springboot/JCacheComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class JCacheComponentAutoConfiguration 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<JCacheComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<JCacheComponent> 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-jcr-starter/src/main/java/org/apache/camel/component/jcr/springboot/JcrComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-jcr-starter/src/main/java/org/apache/camel/component/jcr/springboot/JcrComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-jcr-starter/src/main/java/org/apache/camel/component/jcr/springboot/JcrComponentAutoConfiguration.java index 8209a00..2647097 100644 --- a/platforms/spring-boot/components-starter/camel-jcr-starter/src/main/java/org/apache/camel/component/jcr/springboot/JcrComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-jcr-starter/src/main/java/org/apache/camel/component/jcr/springboot/JcrComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class JcrComponentAutoConfiguration 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<JcrComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<JcrComponent> 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-jdbc-starter/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-jdbc-starter/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-jdbc-starter/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentAutoConfiguration.java index 3ef6712..91a3314 100644 --- a/platforms/spring-boot/components-starter/camel-jdbc-starter/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-jdbc-starter/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class JdbcComponentAutoConfiguration 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<JdbcComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<JdbcComponent> 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-jetty9-starter/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentAutoConfiguration9.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-jetty9-starter/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentAutoConfiguration9.java b/platforms/spring-boot/components-starter/camel-jetty9-starter/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentAutoConfiguration9.java index 5f413f9..103306c 100644 --- a/platforms/spring-boot/components-starter/camel-jetty9-starter/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentAutoConfiguration9.java +++ b/platforms/spring-boot/components-starter/camel-jetty9-starter/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentAutoConfiguration9.java @@ -114,14 +114,14 @@ public class JettyHttpComponentAutoConfiguration9 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<JettyHttpComponent9> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<JettyHttpComponent9> 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-jgroups-starter/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-jgroups-starter/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-jgroups-starter/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java index 3e6fbab..43caec3 100644 --- a/platforms/spring-boot/components-starter/camel-jgroups-starter/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-jgroups-starter/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class JGroupsComponentAutoConfiguration 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<JGroupsComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<JGroupsComponent> 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-jibx-starter/src/main/java/org/apache/camel/dataformat/jibx/springboot/JibxDataFormatAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-jibx-starter/src/main/java/org/apache/camel/dataformat/jibx/springboot/JibxDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-jibx-starter/src/main/java/org/apache/camel/dataformat/jibx/springboot/JibxDataFormatAutoConfiguration.java index cf90aec..fac8036 100644 --- a/platforms/spring-boot/components-starter/camel-jibx-starter/src/main/java/org/apache/camel/dataformat/jibx/springboot/JibxDataFormatAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-jibx-starter/src/main/java/org/apache/camel/dataformat/jibx/springboot/JibxDataFormatAutoConfiguration.java @@ -111,15 +111,15 @@ public class JibxDataFormatAutoConfiguration 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<JibxDataFormat> configurer : customizers) { + && dataformatConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (DataFormatCustomizer<JibxDataFormat> 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-jing-starter/src/main/java/org/apache/camel/component/validator/jing/springboot/JingComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-jing-starter/src/main/java/org/apache/camel/component/validator/jing/springboot/JingComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-jing-starter/src/main/java/org/apache/camel/component/validator/jing/springboot/JingComponentAutoConfiguration.java index 897b95c..9887898 100644 --- a/platforms/spring-boot/components-starter/camel-jing-starter/src/main/java/org/apache/camel/component/validator/jing/springboot/JingComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-jing-starter/src/main/java/org/apache/camel/component/validator/jing/springboot/JingComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class JingComponentAutoConfiguration 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<JingComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<JingComponent> 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-jira-starter/src/main/java/org/apache/camel/component/jira/springboot/JIRAComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-jira-starter/src/main/java/org/apache/camel/component/jira/springboot/JIRAComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-jira-starter/src/main/java/org/apache/camel/component/jira/springboot/JIRAComponentAutoConfiguration.java index 119435f..561a2f9 100644 --- a/platforms/spring-boot/components-starter/camel-jira-starter/src/main/java/org/apache/camel/component/jira/springboot/JIRAComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-jira-starter/src/main/java/org/apache/camel/component/jira/springboot/JIRAComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class JIRAComponentAutoConfiguration 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<JIRAComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<JIRAComponent> 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-jms-starter/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-jms-starter/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-jms-starter/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentAutoConfiguration.java index 4bcab16..0b8cc1e 100644 --- a/platforms/spring-boot/components-starter/camel-jms-starter/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-jms-starter/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class JmsComponentAutoConfiguration 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<JmsComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<JmsComponent> 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-jmx-starter/src/main/java/org/apache/camel/component/jmx/springboot/JMXComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-jmx-starter/src/main/java/org/apache/camel/component/jmx/springboot/JMXComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-jmx-starter/src/main/java/org/apache/camel/component/jmx/springboot/JMXComponentAutoConfiguration.java index 08f49fb..485e33b 100644 --- a/platforms/spring-boot/components-starter/camel-jmx-starter/src/main/java/org/apache/camel/component/jmx/springboot/JMXComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-jmx-starter/src/main/java/org/apache/camel/component/jmx/springboot/JMXComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class JMXComponentAutoConfiguration 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<JMXComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<JMXComponent> 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-johnzon-starter/src/main/java/org/apache/camel/component/johnzon/springboot/JohnzonDataFormatAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-johnzon-starter/src/main/java/org/apache/camel/component/johnzon/springboot/JohnzonDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-johnzon-starter/src/main/java/org/apache/camel/component/johnzon/springboot/JohnzonDataFormatAutoConfiguration.java index 4ba4643..af1de92 100644 --- a/platforms/spring-boot/components-starter/camel-johnzon-starter/src/main/java/org/apache/camel/component/johnzon/springboot/JohnzonDataFormatAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-johnzon-starter/src/main/java/org/apache/camel/component/johnzon/springboot/JohnzonDataFormatAutoConfiguration.java @@ -112,15 +112,15 @@ public class JohnzonDataFormatAutoConfiguration 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<JohnzonDataFormat> configurer : customizers) { + && dataformatConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (DataFormatCustomizer<JohnzonDataFormat> 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-jolt-starter/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-jolt-starter/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-jolt-starter/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentAutoConfiguration.java index ad38881..9c6ab06 100644 --- a/platforms/spring-boot/components-starter/camel-jolt-starter/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-jolt-starter/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class JoltComponentAutoConfiguration 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<JoltComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<JoltComponent> 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-josql-starter/src/main/java/org/apache/camel/language/sql/springboot/SqlLanguageAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-josql-starter/src/main/java/org/apache/camel/language/sql/springboot/SqlLanguageAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-josql-starter/src/main/java/org/apache/camel/language/sql/springboot/SqlLanguageAutoConfiguration.java index 869a004..13b7e4b 100644 --- a/platforms/spring-boot/components-starter/camel-josql-starter/src/main/java/org/apache/camel/language/sql/springboot/SqlLanguageAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-josql-starter/src/main/java/org/apache/camel/language/sql/springboot/SqlLanguageAutoConfiguration.java @@ -102,14 +102,14 @@ public class SqlLanguageAutoConfiguration 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<SqlLanguage> configurer : customizers) { - LOGGER.debug("Configure language {}, with configurer {}", - language, configurer); - configurer.customize(language); + && languageConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (LanguageCustomizer<SqlLanguage> 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-jpa-starter/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-jpa-starter/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-jpa-starter/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentAutoConfiguration.java index 5db6384..e93d524 100644 --- a/platforms/spring-boot/components-starter/camel-jpa-starter/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-jpa-starter/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class JpaComponentAutoConfiguration 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<JpaComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<JpaComponent> 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-jsch-starter/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-jsch-starter/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-jsch-starter/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentAutoConfiguration.java index 8c9145b..d01b20a 100644 --- a/platforms/spring-boot/components-starter/camel-jsch-starter/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-jsch-starter/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class ScpComponentAutoConfiguration 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<ScpComponent> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<ScpComponent> 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-jsonpath-starter/src/main/java/org/apache/camel/jsonpath/springboot/JsonPathLanguageAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-jsonpath-starter/src/main/java/org/apache/camel/jsonpath/springboot/JsonPathLanguageAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-jsonpath-starter/src/main/java/org/apache/camel/jsonpath/springboot/JsonPathLanguageAutoConfiguration.java index 2b228b7..dbaeb3a 100644 --- a/platforms/spring-boot/components-starter/camel-jsonpath-starter/src/main/java/org/apache/camel/jsonpath/springboot/JsonPathLanguageAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-jsonpath-starter/src/main/java/org/apache/camel/jsonpath/springboot/JsonPathLanguageAutoConfiguration.java @@ -102,14 +102,14 @@ public class JsonPathLanguageAutoConfiguration 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<JsonPathLanguage> configurer : customizers) { - LOGGER.debug("Configure language {}, with configurer {}", - language, configurer); - configurer.customize(language); + && languageConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (LanguageCustomizer<JsonPathLanguage> 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-jt400-starter/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-jt400-starter/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-jt400-starter/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentAutoConfiguration.java index 44d9d5d..4f2585f 100644 --- a/platforms/spring-boot/components-starter/camel-jt400-starter/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-jt400-starter/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentAutoConfiguration.java @@ -114,14 +114,14 @@ public class Jt400ComponentAutoConfiguration 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<Jt400Component> configurer : customizers) { - LOGGER.debug("Configure component {}, with configurer {}", - component, configurer); - configurer.customize(component); + && componentConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (ComponentCustomizer<Jt400Component> 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-juel-starter/src/main/java/org/apache/camel/language/juel/springboot/JuelLanguageAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/platforms/spring-boot/components-starter/camel-juel-starter/src/main/java/org/apache/camel/language/juel/springboot/JuelLanguageAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-juel-starter/src/main/java/org/apache/camel/language/juel/springboot/JuelLanguageAutoConfiguration.java index b359d5e..6a0990d 100644 --- a/platforms/spring-boot/components-starter/camel-juel-starter/src/main/java/org/apache/camel/language/juel/springboot/JuelLanguageAutoConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-juel-starter/src/main/java/org/apache/camel/language/juel/springboot/JuelLanguageAutoConfiguration.java @@ -102,14 +102,14 @@ public class JuelLanguageAutoConfiguration 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<JuelLanguage> configurer : customizers) { - LOGGER.debug("Configure language {}, with configurer {}", - language, configurer); - configurer.customize(language); + && languageConfiguration.getCustomizer().isEnabled(); + if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) { + for (LanguageCustomizer<JuelLanguage> customizer : customizers) { + LOGGER.debug("Configure language {}, with customizer {}", + language, customizer); + customizer.customize(language); } } return language;