You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2017/05/19 15:22:05 UTC
[01/11] camel git commit: Fix wrong name for customizers
Repository: camel
Updated Branches:
refs/heads/master 87d4313c4 -> be6a2dce0
Fix wrong name for customizers
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/77640af3
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/77640af3
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/77640af3
Branch: refs/heads/master
Commit: 77640af326b7426ea9b277443808d24e24275bd2
Parents: 87d4313
Author: lburgazzoli <lb...@gmail.com>
Authored: Fri May 19 15:24:16 2017 +0200
Committer: lburgazzoli <lb...@gmail.com>
Committed: Fri May 19 16:39:19 2017 +0200
----------------------------------------------------------------------
.../ComponentConfigurationPropertiesCommon.java | 12 ++++----
...DataFormatConfigurationPropertiesCommon.java | 12 ++++----
.../LanguageConfigurationPropertiesCommon.java | 12 ++++----
.../SpringBootAutoConfigurationMojo.java | 30 ++++++++++----------
4 files changed, 33 insertions(+), 33 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/77640af3/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/ComponentConfigurationPropertiesCommon.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/ComponentConfigurationPropertiesCommon.java b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/ComponentConfigurationPropertiesCommon.java
index 1655bd4..45cf23d 100644
--- a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/ComponentConfigurationPropertiesCommon.java
+++ b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/ComponentConfigurationPropertiesCommon.java
@@ -25,7 +25,7 @@ public class ComponentConfigurationPropertiesCommon {
private boolean enabled = true;
@NestedConfigurationProperty
- private ConfigurerProperties configurer = new ConfigurerProperties();
+ private CustomizerProperties customizer = new CustomizerProperties();
public boolean isEnabled() {
return enabled;
@@ -35,17 +35,17 @@ public class ComponentConfigurationPropertiesCommon {
this.enabled = enabled;
}
- public ConfigurerProperties getConfigurer() {
- return configurer;
+ public CustomizerProperties getCustomizer() {
+ return customizer;
}
// ********************************
- // Configurer
+ // Customizer
// ********************************
- public class ConfigurerProperties {
+ public class CustomizerProperties {
/**
- * Global option to enable/disable component configurers, default is true.
+ * Global option to enable/disable component customizers, default is true.
*/
private boolean enabled = true;
http://git-wip-us.apache.org/repos/asf/camel/blob/77640af3/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/DataFormatConfigurationPropertiesCommon.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/DataFormatConfigurationPropertiesCommon.java b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/DataFormatConfigurationPropertiesCommon.java
index 0589ff3..23ae98c 100644
--- a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/DataFormatConfigurationPropertiesCommon.java
+++ b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/DataFormatConfigurationPropertiesCommon.java
@@ -25,7 +25,7 @@ public class DataFormatConfigurationPropertiesCommon {
private boolean enabled = true;
@NestedConfigurationProperty
- private ConfigurerProperties configurer = new ConfigurerProperties();
+ private CustomizerProperties customizer = new CustomizerProperties();
public boolean isEnabled() {
return enabled;
@@ -35,17 +35,17 @@ public class DataFormatConfigurationPropertiesCommon {
this.enabled = enabled;
}
- public ConfigurerProperties getConfigurer() {
- return configurer;
+ public CustomizerProperties getCustomizer() {
+ return customizer;
}
// ********************************
- // Configurer
+ // Customizer
// ********************************
- public class ConfigurerProperties {
+ public class CustomizerProperties {
/**
- * Global option to enable/disable dataformat configurers, default is true.
+ * Global option to enable/disable dataformat customizers, default is true.
*/
private boolean enabled = true;
http://git-wip-us.apache.org/repos/asf/camel/blob/77640af3/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/LanguageConfigurationPropertiesCommon.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/LanguageConfigurationPropertiesCommon.java b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/LanguageConfigurationPropertiesCommon.java
index 133bfe1..168d90e 100644
--- a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/LanguageConfigurationPropertiesCommon.java
+++ b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/LanguageConfigurationPropertiesCommon.java
@@ -25,7 +25,7 @@ public class LanguageConfigurationPropertiesCommon {
private boolean enabled = true;
@NestedConfigurationProperty
- private ConfigurerProperties configurer = new ConfigurerProperties();
+ private CustomizerProperties customizer = new CustomizerProperties();
public boolean isEnabled() {
return enabled;
@@ -35,17 +35,17 @@ public class LanguageConfigurationPropertiesCommon {
this.enabled = enabled;
}
- public ConfigurerProperties getConfigurer() {
- return configurer;
+ public CustomizerProperties getCustomizer() {
+ return customizer;
}
// ********************************
- // Configurer
+ // Customizer
// ********************************
- public class ConfigurerProperties {
+ public class CustomizerProperties {
/**
- * Global option to enable/disable language configurers, default is true.
+ * Global option to enable/disable language customizers, default is true.
*/
private boolean enabled = true;
http://git-wip-us.apache.org/repos/asf/camel/blob/77640af3/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootAutoConfigurationMojo.java
----------------------------------------------------------------------
diff --git a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootAutoConfigurationMojo.java b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootAutoConfigurationMojo.java
index aff7b16..da7ecb8 100644
--- a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootAutoConfigurationMojo.java
+++ b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootAutoConfigurationMojo.java
@@ -1624,12 +1624,12 @@ public class SpringBootAutoConfigurationMojo extends AbstractMojo {
sb.append("}\n");
sb.append("IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), component, parameters);\n");
sb.append("\n");
- sb.append("boolean useConfigurers = globalConfiguration.getConfigurer().isEnabled() && componentConfiguration.getConfigurer().isEnabled();\n");
+ sb.append("boolean useCustomizers = globalConfiguration.getCustomizer().isEnabled() && componentConfiguration.getCustomizer().isEnabled();\n");
sb.append("\n");
- sb.append("if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) {\n");
- sb.append(" for (ComponentCustomizer<").append(shortJavaType).append("> configurer : customizers) {\n");
- sb.append(" LOGGER.debug(\"Configure component {}, with configurer {}\", component, configurer);\n");
- sb.append(" configurer.customize(component);\n");
+ sb.append("if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {\n");
+ sb.append(" for (ComponentCustomizer<").append(shortJavaType).append("> customizer : customizers) {\n");
+ sb.append(" LOGGER.debug(\"Configure component {}, with customizer {}\", component, customizer);\n");
+ sb.append(" customizer.customize(component);\n");
sb.append(" }\n");
sb.append("}\n");
sb.append("\n");
@@ -1658,12 +1658,12 @@ public class SpringBootAutoConfigurationMojo extends AbstractMojo {
sb.append(" throw new RuntimeCamelException(e);\n");
sb.append(" }\n");
sb.append("\n");
- sb.append("boolean useConfigurers = globalConfiguration.getConfigurer().isEnabled() && dataformatConfiguration.getConfigurer().isEnabled();\n");
+ sb.append("boolean useCustomizers = globalConfiguration.getCustomizer().isEnabled() && dataformatConfiguration.getCustomizer().isEnabled();\n");
sb.append("\n");
- sb.append("if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) {\n");
- sb.append(" for (DataFormatCustomizer<").append(shortJavaType).append("> configurer : customizers) {\n");
- sb.append(" LOGGER.debug(\"Configure dataformat {}, with configurer {}\", dataformat, configurer);\n");
- sb.append(" configurer.customize(dataformat);\n");
+ sb.append("if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {\n");
+ sb.append(" for (DataFormatCustomizer<").append(shortJavaType).append("> customizer : customizers) {\n");
+ sb.append(" LOGGER.debug(\"Configure dataformat {}, with customizer {}\", dataformat, customizer);\n");
+ sb.append(" customizer.customize(dataformat);\n");
sb.append(" }\n");
sb.append("}\n");
sb.append("\n");
@@ -1687,12 +1687,12 @@ public class SpringBootAutoConfigurationMojo extends AbstractMojo {
sb.append("IntrospectionSupport.getProperties(languageConfiguration, parameters, null, false);\n");
sb.append("IntrospectionSupport.setProperties(camelContext, camelContext.getTypeConverter(), language, parameters);\n");
sb.append("\n");
- sb.append("boolean useConfigurers = globalConfiguration.getConfigurer().isEnabled() && languageConfiguration.getConfigurer().isEnabled();\n");
+ sb.append("boolean useCustomizers = globalConfiguration.getCustomizer().isEnabled() && languageConfiguration.getCustomizer().isEnabled();\n");
sb.append("\n");
- sb.append("if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) {\n");
- sb.append(" for (LanguageCustomizer<").append(shortJavaType).append("> configurer : customizers) {\n");
- sb.append(" LOGGER.debug(\"Configure language {}, with configurer {}\", language, configurer);\n");
- sb.append(" configurer.customize(language);\n");
+ sb.append("if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {\n");
+ sb.append(" for (LanguageCustomizer<").append(shortJavaType).append("> customizer : customizers) {\n");
+ sb.append(" LOGGER.debug(\"Configure language {}, with customizer {}\", language, customizer);\n");
+ sb.append(" customizer.customize(language);\n");
sb.append(" }\n");
sb.append("}\n");
sb.append("\n");
[04/11] camel git commit: Fix wrong name for customizers
Posted by lb...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-soap-starter/src/main/java/org/apache/camel/dataformat/soap/springboot/SoapJaxbDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-soap-starter/src/main/java/org/apache/camel/dataformat/soap/springboot/SoapJaxbDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-soap-starter/src/main/java/org/apache/camel/dataformat/soap/springboot/SoapJaxbDataFormatAutoConfiguration.java
index 60034ab..8f3e108 100644
--- a/platforms/spring-boot/components-starter/camel-soap-starter/src/main/java/org/apache/camel/dataformat/soap/springboot/SoapJaxbDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-soap-starter/src/main/java/org/apache/camel/dataformat/soap/springboot/SoapJaxbDataFormatAutoConfiguration.java
@@ -112,15 +112,15 @@ public class SoapJaxbDataFormatAutoConfiguration 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<SoapJaxbDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<SoapJaxbDataFormat> 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-solr-starter/src/main/java/org/apache/camel/component/solr/springboot/SolrComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-solr-starter/src/main/java/org/apache/camel/component/solr/springboot/SolrComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-solr-starter/src/main/java/org/apache/camel/component/solr/springboot/SolrComponentAutoConfiguration.java
index d127561..ce8dbd6 100644
--- a/platforms/spring-boot/components-starter/camel-solr-starter/src/main/java/org/apache/camel/component/solr/springboot/SolrComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-solr-starter/src/main/java/org/apache/camel/component/solr/springboot/SolrComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class SolrComponentAutoConfiguration 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<SolrComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<SolrComponent> 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-spark-starter/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-spark-starter/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-spark-starter/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentAutoConfiguration.java
index a1461b3..d9c9e91 100644
--- a/platforms/spring-boot/components-starter/camel-spark-starter/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-spark-starter/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class SparkComponentAutoConfiguration 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<SparkComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<SparkComponent> 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-splunk-starter/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-splunk-starter/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-splunk-starter/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentAutoConfiguration.java
index 522b4a6..e4e6126 100644
--- a/platforms/spring-boot/components-starter/camel-splunk-starter/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-splunk-starter/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class SplunkComponentAutoConfiguration 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<SplunkComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<SplunkComponent> 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-spring-batch-starter/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-spring-batch-starter/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-spring-batch-starter/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentAutoConfiguration.java
index 32d5374..03971b3 100644
--- a/platforms/spring-boot/components-starter/camel-spring-batch-starter/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-spring-batch-starter/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentAutoConfiguration.java
@@ -115,14 +115,14 @@ public class SpringBatchComponentAutoConfiguration 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<SpringBatchComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<SpringBatchComponent> 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-spring-integration-starter/src/main/java/org/apache/camel/component/spring/integration/springboot/SpringIntegrationComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-spring-integration-starter/src/main/java/org/apache/camel/component/spring/integration/springboot/SpringIntegrationComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-spring-integration-starter/src/main/java/org/apache/camel/component/spring/integration/springboot/SpringIntegrationComponentAutoConfiguration.java
index 80f4933..fd1ede3 100644
--- a/platforms/spring-boot/components-starter/camel-spring-integration-starter/src/main/java/org/apache/camel/component/spring/integration/springboot/SpringIntegrationComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-spring-integration-starter/src/main/java/org/apache/camel/component/spring/integration/springboot/SpringIntegrationComponentAutoConfiguration.java
@@ -117,14 +117,14 @@ public class SpringIntegrationComponentAutoConfiguration
}
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<SpringIntegrationComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<SpringIntegrationComponent> 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-spring-ldap-starter/src/main/java/org/apache/camel/component/springldap/springboot/SpringLdapComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-spring-ldap-starter/src/main/java/org/apache/camel/component/springldap/springboot/SpringLdapComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-spring-ldap-starter/src/main/java/org/apache/camel/component/springldap/springboot/SpringLdapComponentAutoConfiguration.java
index cb2234e..b0f6797 100644
--- a/platforms/spring-boot/components-starter/camel-spring-ldap-starter/src/main/java/org/apache/camel/component/springldap/springboot/SpringLdapComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-spring-ldap-starter/src/main/java/org/apache/camel/component/springldap/springboot/SpringLdapComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class SpringLdapComponentAutoConfiguration 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<SpringLdapComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<SpringLdapComponent> 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-spring-redis-starter/src/main/java/org/apache/camel/component/redis/springboot/RedisComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-spring-redis-starter/src/main/java/org/apache/camel/component/redis/springboot/RedisComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-spring-redis-starter/src/main/java/org/apache/camel/component/redis/springboot/RedisComponentAutoConfiguration.java
index be5a565..c189510 100644
--- a/platforms/spring-boot/components-starter/camel-spring-redis-starter/src/main/java/org/apache/camel/component/redis/springboot/RedisComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-spring-redis-starter/src/main/java/org/apache/camel/component/redis/springboot/RedisComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class RedisComponentAutoConfiguration 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<RedisComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<RedisComponent> 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-spring-starter/src/main/java/org/apache/camel/component/event/springboot/EventComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-spring-starter/src/main/java/org/apache/camel/component/event/springboot/EventComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-spring-starter/src/main/java/org/apache/camel/component/event/springboot/EventComponentAutoConfiguration.java
index 30213ed..72f5b66 100644
--- a/platforms/spring-boot/components-starter/camel-spring-starter/src/main/java/org/apache/camel/component/event/springboot/EventComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-spring-starter/src/main/java/org/apache/camel/component/event/springboot/EventComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class EventComponentAutoConfiguration 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<EventComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<EventComponent> 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-spring-starter/src/main/java/org/apache/camel/language/spel/springboot/SpelLanguageAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-spring-starter/src/main/java/org/apache/camel/language/spel/springboot/SpelLanguageAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-spring-starter/src/main/java/org/apache/camel/language/spel/springboot/SpelLanguageAutoConfiguration.java
index 0bdd5a1..03d9a1a 100644
--- a/platforms/spring-boot/components-starter/camel-spring-starter/src/main/java/org/apache/camel/language/spel/springboot/SpelLanguageAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-spring-starter/src/main/java/org/apache/camel/language/spel/springboot/SpelLanguageAutoConfiguration.java
@@ -102,14 +102,14 @@ public class SpelLanguageAutoConfiguration 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<SpelLanguage> configurer : customizers) {
- LOGGER.debug("Configure language {}, with configurer {}",
- language, configurer);
- configurer.customize(language);
+ && languageConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (LanguageCustomizer<SpelLanguage> 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-spring-ws-starter/src/main/java/org/apache/camel/component/spring/ws/springboot/SpringWebserviceComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-spring-ws-starter/src/main/java/org/apache/camel/component/spring/ws/springboot/SpringWebserviceComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-spring-ws-starter/src/main/java/org/apache/camel/component/spring/ws/springboot/SpringWebserviceComponentAutoConfiguration.java
index a2d44ae..de8a535 100644
--- a/platforms/spring-boot/components-starter/camel-spring-ws-starter/src/main/java/org/apache/camel/component/spring/ws/springboot/SpringWebserviceComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-spring-ws-starter/src/main/java/org/apache/camel/component/spring/ws/springboot/SpringWebserviceComponentAutoConfiguration.java
@@ -117,14 +117,14 @@ public class SpringWebserviceComponentAutoConfiguration
}
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<SpringWebserviceComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<SpringWebserviceComponent> 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-sql-starter/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-sql-starter/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-sql-starter/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentAutoConfiguration.java
index ad96849..a5234d7 100644
--- a/platforms/spring-boot/components-starter/camel-sql-starter/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-sql-starter/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class SqlComponentAutoConfiguration 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<SqlComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<SqlComponent> 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-sql-starter/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-sql-starter/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-sql-starter/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentAutoConfiguration.java
index 7b05456..6e66ff3 100644
--- a/platforms/spring-boot/components-starter/camel-sql-starter/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-sql-starter/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class SqlStoredComponentAutoConfiguration 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<SqlStoredComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<SqlStoredComponent> 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-ssh-starter/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-ssh-starter/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-ssh-starter/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentAutoConfiguration.java
index cb6665e..c8925b9 100644
--- a/platforms/spring-boot/components-starter/camel-ssh-starter/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-ssh-starter/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class SshComponentAutoConfiguration 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<SshComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<SshComponent> 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-stax-starter/src/main/java/org/apache/camel/component/stax/springboot/StAXComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-stax-starter/src/main/java/org/apache/camel/component/stax/springboot/StAXComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-stax-starter/src/main/java/org/apache/camel/component/stax/springboot/StAXComponentAutoConfiguration.java
index 01510b1..a3a5e98 100644
--- a/platforms/spring-boot/components-starter/camel-stax-starter/src/main/java/org/apache/camel/component/stax/springboot/StAXComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-stax-starter/src/main/java/org/apache/camel/component/stax/springboot/StAXComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class StAXComponentAutoConfiguration 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<StAXComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<StAXComponent> 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-stomp-starter/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-stomp-starter/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-stomp-starter/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentAutoConfiguration.java
index f4f2887..c73bcbd 100644
--- a/platforms/spring-boot/components-starter/camel-stomp-starter/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-stomp-starter/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class StompComponentAutoConfiguration 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<StompComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<StompComponent> 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-stream-starter/src/main/java/org/apache/camel/component/stream/springboot/StreamComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-stream-starter/src/main/java/org/apache/camel/component/stream/springboot/StreamComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-stream-starter/src/main/java/org/apache/camel/component/stream/springboot/StreamComponentAutoConfiguration.java
index e1e013d..e8a313e 100644
--- a/platforms/spring-boot/components-starter/camel-stream-starter/src/main/java/org/apache/camel/component/stream/springboot/StreamComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-stream-starter/src/main/java/org/apache/camel/component/stream/springboot/StreamComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class StreamComponentAutoConfiguration 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<StreamComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<StreamComponent> 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-stringtemplate-starter/src/main/java/org/apache/camel/component/stringtemplate/springboot/StringTemplateComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-stringtemplate-starter/src/main/java/org/apache/camel/component/stringtemplate/springboot/StringTemplateComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-stringtemplate-starter/src/main/java/org/apache/camel/component/stringtemplate/springboot/StringTemplateComponentAutoConfiguration.java
index 03406e3..653517c 100644
--- a/platforms/spring-boot/components-starter/camel-stringtemplate-starter/src/main/java/org/apache/camel/component/stringtemplate/springboot/StringTemplateComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-stringtemplate-starter/src/main/java/org/apache/camel/component/stringtemplate/springboot/StringTemplateComponentAutoConfiguration.java
@@ -117,14 +117,14 @@ public class StringTemplateComponentAutoConfiguration
}
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<StringTemplateComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<StringTemplateComponent> 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-syslog-starter/src/main/java/org/apache/camel/component/syslog/springboot/SyslogDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-syslog-starter/src/main/java/org/apache/camel/component/syslog/springboot/SyslogDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-syslog-starter/src/main/java/org/apache/camel/component/syslog/springboot/SyslogDataFormatAutoConfiguration.java
index 73b2d49..16d12d1 100644
--- a/platforms/spring-boot/components-starter/camel-syslog-starter/src/main/java/org/apache/camel/component/syslog/springboot/SyslogDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-syslog-starter/src/main/java/org/apache/camel/component/syslog/springboot/SyslogDataFormatAutoConfiguration.java
@@ -112,15 +112,15 @@ public class SyslogDataFormatAutoConfiguration 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<SyslogDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<SyslogDataFormat> 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-tagsoup-starter/src/main/java/org/apache/camel/dataformat/tagsoup/springboot/TidyMarkupDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-tagsoup-starter/src/main/java/org/apache/camel/dataformat/tagsoup/springboot/TidyMarkupDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-tagsoup-starter/src/main/java/org/apache/camel/dataformat/tagsoup/springboot/TidyMarkupDataFormatAutoConfiguration.java
index a983eed..517f57f 100644
--- a/platforms/spring-boot/components-starter/camel-tagsoup-starter/src/main/java/org/apache/camel/dataformat/tagsoup/springboot/TidyMarkupDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-tagsoup-starter/src/main/java/org/apache/camel/dataformat/tagsoup/springboot/TidyMarkupDataFormatAutoConfiguration.java
@@ -112,15 +112,15 @@ public class TidyMarkupDataFormatAutoConfiguration 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<TidyMarkupDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<TidyMarkupDataFormat> 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-tarfile-starter/src/main/java/org/apache/camel/dataformat/tarfile/springboot/TarFileDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-tarfile-starter/src/main/java/org/apache/camel/dataformat/tarfile/springboot/TarFileDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-tarfile-starter/src/main/java/org/apache/camel/dataformat/tarfile/springboot/TarFileDataFormatAutoConfiguration.java
index 6a0c4ea..bf28b61 100644
--- a/platforms/spring-boot/components-starter/camel-tarfile-starter/src/main/java/org/apache/camel/dataformat/tarfile/springboot/TarFileDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-tarfile-starter/src/main/java/org/apache/camel/dataformat/tarfile/springboot/TarFileDataFormatAutoConfiguration.java
@@ -112,15 +112,15 @@ public class TarFileDataFormatAutoConfiguration 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<TarFileDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<TarFileDataFormat> 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-telegram-starter/src/main/java/org/apache/camel/component/telegram/springboot/TelegramComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-telegram-starter/src/main/java/org/apache/camel/component/telegram/springboot/TelegramComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-telegram-starter/src/main/java/org/apache/camel/component/telegram/springboot/TelegramComponentAutoConfiguration.java
index 170858b..dd3e17f 100644
--- a/platforms/spring-boot/components-starter/camel-telegram-starter/src/main/java/org/apache/camel/component/telegram/springboot/TelegramComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-telegram-starter/src/main/java/org/apache/camel/component/telegram/springboot/TelegramComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class TelegramComponentAutoConfiguration 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<TelegramComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<TelegramComponent> 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-tika-starter/src/main/java/org/apache/camel/component/tika/springboot/TikaComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-tika-starter/src/main/java/org/apache/camel/component/tika/springboot/TikaComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-tika-starter/src/main/java/org/apache/camel/component/tika/springboot/TikaComponentAutoConfiguration.java
index 2366b80..a2a34ae 100644
--- a/platforms/spring-boot/components-starter/camel-tika-starter/src/main/java/org/apache/camel/component/tika/springboot/TikaComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-tika-starter/src/main/java/org/apache/camel/component/tika/springboot/TikaComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class TikaComponentAutoConfiguration 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<TikaComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<TikaComponent> 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-twitter-starter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-twitter-starter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-twitter-starter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentAutoConfiguration.java
index 8a31e0c..4dc24fb 100644
--- a/platforms/spring-boot/components-starter/camel-twitter-starter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-twitter-starter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class TwitterComponentAutoConfiguration 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<TwitterComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<TwitterComponent> 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-undertow-starter/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-undertow-starter/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-undertow-starter/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentAutoConfiguration.java
index c506afd..03a4ad7 100644
--- a/platforms/spring-boot/components-starter/camel-undertow-starter/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-undertow-starter/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class UndertowComponentAutoConfiguration 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<UndertowComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<UndertowComponent> 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-univocity-parsers-starter/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityCsvDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-univocity-parsers-starter/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityCsvDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-univocity-parsers-starter/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityCsvDataFormatAutoConfiguration.java
index 936301a..7b6d913 100644
--- a/platforms/spring-boot/components-starter/camel-univocity-parsers-starter/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityCsvDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-univocity-parsers-starter/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityCsvDataFormatAutoConfiguration.java
@@ -114,15 +114,15 @@ public class UniVocityCsvDataFormatAutoConfiguration
} 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<UniVocityCsvDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<UniVocityCsvDataFormat> 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-univocity-parsers-starter/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityFixedWidthDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-univocity-parsers-starter/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityFixedWidthDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-univocity-parsers-starter/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityFixedWidthDataFormatAutoConfiguration.java
index 04f5f21..9d66cd3 100644
--- a/platforms/spring-boot/components-starter/camel-univocity-parsers-starter/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityFixedWidthDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-univocity-parsers-starter/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityFixedWidthDataFormatAutoConfiguration.java
@@ -114,15 +114,15 @@ public class UniVocityFixedWidthDataFormatAutoConfiguration
} 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<UniVocityFixedWidthDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<UniVocityFixedWidthDataFormat> 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-univocity-parsers-starter/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityTsvDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-univocity-parsers-starter/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityTsvDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-univocity-parsers-starter/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityTsvDataFormatAutoConfiguration.java
index f92acd3..2d95171 100644
--- a/platforms/spring-boot/components-starter/camel-univocity-parsers-starter/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityTsvDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-univocity-parsers-starter/src/main/java/org/apache/camel/dataformat/univocity/springboot/UniVocityTsvDataFormatAutoConfiguration.java
@@ -114,15 +114,15 @@ public class UniVocityTsvDataFormatAutoConfiguration
} 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<UniVocityTsvDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<UniVocityTsvDataFormat> 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-velocity-starter/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-velocity-starter/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-velocity-starter/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentAutoConfiguration.java
index 00ee529..3605773 100644
--- a/platforms/spring-boot/components-starter/camel-velocity-starter/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-velocity-starter/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class VelocityComponentAutoConfiguration 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<VelocityComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<VelocityComponent> 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-vertx-starter/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-vertx-starter/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-vertx-starter/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentAutoConfiguration.java
index 3ad0380..45f9c18 100644
--- a/platforms/spring-boot/components-starter/camel-vertx-starter/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-vertx-starter/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class VertxComponentAutoConfiguration 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<VertxComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<VertxComponent> 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-weather-starter/src/main/java/org/apache/camel/component/weather/springboot/WeatherComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-weather-starter/src/main/java/org/apache/camel/component/weather/springboot/WeatherComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-weather-starter/src/main/java/org/apache/camel/component/weather/springboot/WeatherComponentAutoConfiguration.java
index 44177c1..cd2da7f 100644
--- a/platforms/spring-boot/components-starter/camel-weather-starter/src/main/java/org/apache/camel/component/weather/springboot/WeatherComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-weather-starter/src/main/java/org/apache/camel/component/weather/springboot/WeatherComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class WeatherComponentAutoConfiguration 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<WeatherComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<WeatherComponent> 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-websocket-starter/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-websocket-starter/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-websocket-starter/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentAutoConfiguration.java
index 7802b40..ed116b5 100644
--- a/platforms/spring-boot/components-starter/camel-websocket-starter/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-websocket-starter/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class WebsocketComponentAutoConfiguration 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<WebsocketComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<WebsocketComponent> 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-xmlbeans-starter/src/main/java/org/apache/camel/converter/xmlbeans/springboot/XmlBeansDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-xmlbeans-starter/src/main/java/org/apache/camel/converter/xmlbeans/springboot/XmlBeansDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-xmlbeans-starter/src/main/java/org/apache/camel/converter/xmlbeans/springboot/XmlBeansDataFormatAutoConfiguration.java
index b49b18e..1d4c6d8 100644
--- a/platforms/spring-boot/components-starter/camel-xmlbeans-starter/src/main/java/org/apache/camel/converter/xmlbeans/springboot/XmlBeansDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-xmlbeans-starter/src/main/java/org/apache/camel/converter/xmlbeans/springboot/XmlBeansDataFormatAutoConfiguration.java
@@ -112,15 +112,15 @@ public class XmlBeansDataFormatAutoConfiguration 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<XmlBeansDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<XmlBeansDataFormat> 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-xmljson-starter/src/main/java/org/apache/camel/dataformat/xmljson/springboot/XmlJsonDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-xmljson-starter/src/main/java/org/apache/camel/dataformat/xmljson/springboot/XmlJsonDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-xmljson-starter/src/main/java/org/apache/camel/dataformat/xmljson/springboot/XmlJsonDataFormatAutoConfiguration.java
index 617be09..d89189e 100644
--- a/platforms/spring-boot/components-starter/camel-xmljson-starter/src/main/java/org/apache/camel/dataformat/xmljson/springboot/XmlJsonDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-xmljson-starter/src/main/java/org/apache/camel/dataformat/xmljson/springboot/XmlJsonDataFormatAutoConfiguration.java
@@ -112,15 +112,15 @@ public class XmlJsonDataFormatAutoConfiguration 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<XmlJsonDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<XmlJsonDataFormat> 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-xmlrpc-starter/src/main/java/org/apache/camel/component/xmlrpc/springboot/XmlRpcComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-xmlrpc-starter/src/main/java/org/apache/camel/component/xmlrpc/springboot/XmlRpcComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-xmlrpc-starter/src/main/java/org/apache/camel/component/xmlrpc/springboot/XmlRpcComponentAutoConfiguration.java
index 2033b02..5ebcc81 100644
--- a/platforms/spring-boot/components-starter/camel-xmlrpc-starter/src/main/java/org/apache/camel/component/xmlrpc/springboot/XmlRpcComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-xmlrpc-starter/src/main/java/org/apache/camel/component/xmlrpc/springboot/XmlRpcComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class XmlRpcComponentAutoConfiguration 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<XmlRpcComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<XmlRpcComponent> 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-xmlrpc-starter/src/main/java/org/apache/camel/dataformat/xmlrpc/springboot/XmlRpcDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-xmlrpc-starter/src/main/java/org/apache/camel/dataformat/xmlrpc/springboot/XmlRpcDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-xmlrpc-starter/src/main/java/org/apache/camel/dataformat/xmlrpc/springboot/XmlRpcDataFormatAutoConfiguration.java
index bfe20cb..ee54faf 100644
--- a/platforms/spring-boot/components-starter/camel-xmlrpc-starter/src/main/java/org/apache/camel/dataformat/xmlrpc/springboot/XmlRpcDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-xmlrpc-starter/src/main/java/org/apache/camel/dataformat/xmlrpc/springboot/XmlRpcDataFormatAutoConfiguration.java
@@ -112,15 +112,15 @@ public class XmlRpcDataFormatAutoConfiguration 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<XmlRpcDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<XmlRpcDataFormat> 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-xmlsecurity-starter/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-xmlsecurity-starter/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-xmlsecurity-starter/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentAutoConfiguration.java
index 78b53c3..57c158a 100644
--- a/platforms/spring-boot/components-starter/camel-xmlsecurity-starter/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-xmlsecurity-starter/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentAutoConfiguration.java
@@ -115,14 +115,14 @@ public class XmlSignatureComponentAutoConfiguration 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<XmlSignatureComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<XmlSignatureComponent> 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-xmlsecurity-starter/src/main/java/org/apache/camel/dataformat/xmlsecurity/springboot/XMLSecurityDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-xmlsecurity-starter/src/main/java/org/apache/camel/dataformat/xmlsecurity/springboot/XMLSecurityDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-xmlsecurity-starter/src/main/java/org/apache/camel/dataformat/xmlsecurity/springboot/XMLSecurityDataFormatAutoConfiguration.java
index b736904..89982a4 100644
--- a/platforms/spring-boot/components-starter/camel-xmlsecurity-starter/src/main/java/org/apache/camel/dataformat/xmlsecurity/springboot/XMLSecurityDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-xmlsecurity-starter/src/main/java/org/apache/camel/dataformat/xmlsecurity/springboot/XMLSecurityDataFormatAutoConfiguration.java
@@ -112,15 +112,15 @@ public class XMLSecurityDataFormatAutoConfiguration 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<XMLSecurityDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<XMLSecurityDataFormat> customizer : customizers) {
LOGGER.debug(
- "Configure dataformat {}, with configurer {}",
- dataformat, configurer);
- configurer.customize(dataformat);
+ "Configure dataformat {}, with customizer {}",
+ dataformat, customizer);
+ customizer.customize(dataformat);
}
}
return dataformat;
[08/11] camel git commit: Fix wrong name for customizers
Posted by lb...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-exec-starter/src/main/java/org/apache/camel/component/exec/springboot/ExecComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-exec-starter/src/main/java/org/apache/camel/component/exec/springboot/ExecComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-exec-starter/src/main/java/org/apache/camel/component/exec/springboot/ExecComponentAutoConfiguration.java
index 6ee90b8..be4aeda 100644
--- a/platforms/spring-boot/components-starter/camel-exec-starter/src/main/java/org/apache/camel/component/exec/springboot/ExecComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-exec-starter/src/main/java/org/apache/camel/component/exec/springboot/ExecComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class ExecComponentAutoConfiguration 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<ExecComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<ExecComponent> 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-facebook-starter/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-facebook-starter/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-facebook-starter/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentAutoConfiguration.java
index 5640c1c..c50a639 100644
--- a/platforms/spring-boot/components-starter/camel-facebook-starter/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-facebook-starter/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class FacebookComponentAutoConfiguration 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<FacebookComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<FacebookComponent> 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-flatpack-starter/src/main/java/org/apache/camel/component/flatpack/springboot/FlatpackComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-flatpack-starter/src/main/java/org/apache/camel/component/flatpack/springboot/FlatpackComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-flatpack-starter/src/main/java/org/apache/camel/component/flatpack/springboot/FlatpackComponentAutoConfiguration.java
index 137430c..97b5ba3 100644
--- a/platforms/spring-boot/components-starter/camel-flatpack-starter/src/main/java/org/apache/camel/component/flatpack/springboot/FlatpackComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-flatpack-starter/src/main/java/org/apache/camel/component/flatpack/springboot/FlatpackComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class FlatpackComponentAutoConfiguration 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<FlatpackComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<FlatpackComponent> 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-flatpack-starter/src/main/java/org/apache/camel/dataformat/flatpack/springboot/FlatpackDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-flatpack-starter/src/main/java/org/apache/camel/dataformat/flatpack/springboot/FlatpackDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-flatpack-starter/src/main/java/org/apache/camel/dataformat/flatpack/springboot/FlatpackDataFormatAutoConfiguration.java
index 9f903e7..ddee1f8 100644
--- a/platforms/spring-boot/components-starter/camel-flatpack-starter/src/main/java/org/apache/camel/dataformat/flatpack/springboot/FlatpackDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-flatpack-starter/src/main/java/org/apache/camel/dataformat/flatpack/springboot/FlatpackDataFormatAutoConfiguration.java
@@ -112,15 +112,15 @@ public class FlatpackDataFormatAutoConfiguration 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<FlatpackDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<FlatpackDataFormat> 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-flink-starter/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-flink-starter/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-flink-starter/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentAutoConfiguration.java
index 28f0a81..79a6c3c 100644
--- a/platforms/spring-boot/components-starter/camel-flink-starter/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-flink-starter/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class FlinkComponentAutoConfiguration 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<FlinkComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<FlinkComponent> 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-fop-starter/src/main/java/org/apache/camel/component/fop/springboot/FopComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-fop-starter/src/main/java/org/apache/camel/component/fop/springboot/FopComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-fop-starter/src/main/java/org/apache/camel/component/fop/springboot/FopComponentAutoConfiguration.java
index 12296d3..62243d5 100644
--- a/platforms/spring-boot/components-starter/camel-fop-starter/src/main/java/org/apache/camel/component/fop/springboot/FopComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-fop-starter/src/main/java/org/apache/camel/component/fop/springboot/FopComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class FopComponentAutoConfiguration 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<FopComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<FopComponent> 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-freemarker-starter/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-freemarker-starter/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-freemarker-starter/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentAutoConfiguration.java
index b09b03c..26f9086 100644
--- a/platforms/spring-boot/components-starter/camel-freemarker-starter/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-freemarker-starter/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class FreemarkerComponentAutoConfiguration 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<FreemarkerComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<FreemarkerComponent> 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-ftp-starter/src/main/java/org/apache/camel/component/file/remote/springboot/FtpComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-ftp-starter/src/main/java/org/apache/camel/component/file/remote/springboot/FtpComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-ftp-starter/src/main/java/org/apache/camel/component/file/remote/springboot/FtpComponentAutoConfiguration.java
index 3faf728..0e94a65 100644
--- a/platforms/spring-boot/components-starter/camel-ftp-starter/src/main/java/org/apache/camel/component/file/remote/springboot/FtpComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-ftp-starter/src/main/java/org/apache/camel/component/file/remote/springboot/FtpComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class FtpComponentAutoConfiguration 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<FtpComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<FtpComponent> 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-ftp-starter/src/main/java/org/apache/camel/component/file/remote/springboot/FtpsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-ftp-starter/src/main/java/org/apache/camel/component/file/remote/springboot/FtpsComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-ftp-starter/src/main/java/org/apache/camel/component/file/remote/springboot/FtpsComponentAutoConfiguration.java
index 34e46ad..8a5a968 100644
--- a/platforms/spring-boot/components-starter/camel-ftp-starter/src/main/java/org/apache/camel/component/file/remote/springboot/FtpsComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-ftp-starter/src/main/java/org/apache/camel/component/file/remote/springboot/FtpsComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class FtpsComponentAutoConfiguration 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<FtpsComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<FtpsComponent> 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-ftp-starter/src/main/java/org/apache/camel/component/file/remote/springboot/SftpComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-ftp-starter/src/main/java/org/apache/camel/component/file/remote/springboot/SftpComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-ftp-starter/src/main/java/org/apache/camel/component/file/remote/springboot/SftpComponentAutoConfiguration.java
index 6863e3b..712409c 100644
--- a/platforms/spring-boot/components-starter/camel-ftp-starter/src/main/java/org/apache/camel/component/file/remote/springboot/SftpComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-ftp-starter/src/main/java/org/apache/camel/component/file/remote/springboot/SftpComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class SftpComponentAutoConfiguration 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<SftpComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<SftpComponent> 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-ganglia-starter/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-ganglia-starter/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-ganglia-starter/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentAutoConfiguration.java
index 8a42bca..c1b55c3 100644
--- a/platforms/spring-boot/components-starter/camel-ganglia-starter/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-ganglia-starter/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class GangliaComponentAutoConfiguration 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<GangliaComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<GangliaComponent> 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-geocoder-starter/src/main/java/org/apache/camel/component/geocoder/springboot/GeoCoderComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-geocoder-starter/src/main/java/org/apache/camel/component/geocoder/springboot/GeoCoderComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-geocoder-starter/src/main/java/org/apache/camel/component/geocoder/springboot/GeoCoderComponentAutoConfiguration.java
index 5c2ea1b..14fca51 100644
--- a/platforms/spring-boot/components-starter/camel-geocoder-starter/src/main/java/org/apache/camel/component/geocoder/springboot/GeoCoderComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-geocoder-starter/src/main/java/org/apache/camel/component/geocoder/springboot/GeoCoderComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class GeoCoderComponentAutoConfiguration 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<GeoCoderComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<GeoCoderComponent> 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-git-starter/src/main/java/org/apache/camel/component/git/springboot/GitComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-git-starter/src/main/java/org/apache/camel/component/git/springboot/GitComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-git-starter/src/main/java/org/apache/camel/component/git/springboot/GitComponentAutoConfiguration.java
index 0c1e4f9..1cd1663 100644
--- a/platforms/spring-boot/components-starter/camel-git-starter/src/main/java/org/apache/camel/component/git/springboot/GitComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-git-starter/src/main/java/org/apache/camel/component/git/springboot/GitComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class GitComponentAutoConfiguration 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<GitComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<GitComponent> 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-github-starter/src/main/java/org/apache/camel/component/github/springboot/GitHubComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-github-starter/src/main/java/org/apache/camel/component/github/springboot/GitHubComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-github-starter/src/main/java/org/apache/camel/component/github/springboot/GitHubComponentAutoConfiguration.java
index ef8d417..3331527 100644
--- a/platforms/spring-boot/components-starter/camel-github-starter/src/main/java/org/apache/camel/component/github/springboot/GitHubComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-github-starter/src/main/java/org/apache/camel/component/github/springboot/GitHubComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class GitHubComponentAutoConfiguration 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<GitHubComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<GitHubComponent> 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-google-calendar-starter/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-google-calendar-starter/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-google-calendar-starter/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentAutoConfiguration.java
index ee374ea..0e33de5 100644
--- a/platforms/spring-boot/components-starter/camel-google-calendar-starter/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-google-calendar-starter/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentAutoConfiguration.java
@@ -117,14 +117,14 @@ public class GoogleCalendarComponentAutoConfiguration
}
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<GoogleCalendarComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<GoogleCalendarComponent> 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-google-drive-starter/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-google-drive-starter/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-google-drive-starter/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentAutoConfiguration.java
index 96772a4..97646b6 100644
--- a/platforms/spring-boot/components-starter/camel-google-drive-starter/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-google-drive-starter/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentAutoConfiguration.java
@@ -115,14 +115,14 @@ public class GoogleDriveComponentAutoConfiguration 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<GoogleDriveComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<GoogleDriveComponent> 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-google-mail-starter/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-google-mail-starter/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-google-mail-starter/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentAutoConfiguration.java
index adee3e1..e8b433a 100644
--- a/platforms/spring-boot/components-starter/camel-google-mail-starter/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-google-mail-starter/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class GoogleMailComponentAutoConfiguration 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<GoogleMailComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<GoogleMailComponent> 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-google-pubsub-starter/src/main/java/org/apache/camel/component/google/pubsub/springboot/GooglePubsubComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-google-pubsub-starter/src/main/java/org/apache/camel/component/google/pubsub/springboot/GooglePubsubComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-google-pubsub-starter/src/main/java/org/apache/camel/component/google/pubsub/springboot/GooglePubsubComponentAutoConfiguration.java
index b4f0c3b..6a844de 100644
--- a/platforms/spring-boot/components-starter/camel-google-pubsub-starter/src/main/java/org/apache/camel/component/google/pubsub/springboot/GooglePubsubComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-google-pubsub-starter/src/main/java/org/apache/camel/component/google/pubsub/springboot/GooglePubsubComponentAutoConfiguration.java
@@ -115,14 +115,14 @@ public class GooglePubsubComponentAutoConfiguration 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<GooglePubsubComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<GooglePubsubComponent> 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-gora-starter/src/main/java/org/apache/camel/component/gora/springboot/GoraComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-gora-starter/src/main/java/org/apache/camel/component/gora/springboot/GoraComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-gora-starter/src/main/java/org/apache/camel/component/gora/springboot/GoraComponentAutoConfiguration.java
index 5e81306..cd7bc2d 100644
--- a/platforms/spring-boot/components-starter/camel-gora-starter/src/main/java/org/apache/camel/component/gora/springboot/GoraComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-gora-starter/src/main/java/org/apache/camel/component/gora/springboot/GoraComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class GoraComponentAutoConfiguration 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<GoraComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<GoraComponent> 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-groovy-starter/src/main/java/org/apache/camel/language/groovy/springboot/GroovyLanguageAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-groovy-starter/src/main/java/org/apache/camel/language/groovy/springboot/GroovyLanguageAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-groovy-starter/src/main/java/org/apache/camel/language/groovy/springboot/GroovyLanguageAutoConfiguration.java
index 08bd03e..a6684b7 100644
--- a/platforms/spring-boot/components-starter/camel-groovy-starter/src/main/java/org/apache/camel/language/groovy/springboot/GroovyLanguageAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-groovy-starter/src/main/java/org/apache/camel/language/groovy/springboot/GroovyLanguageAutoConfiguration.java
@@ -102,14 +102,14 @@ public class GroovyLanguageAutoConfiguration 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<GroovyLanguage> configurer : customizers) {
- LOGGER.debug("Configure language {}, with configurer {}",
- language, configurer);
- configurer.customize(language);
+ && languageConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (LanguageCustomizer<GroovyLanguage> 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-grpc-starter/src/main/java/org/apache/camel/component/grpc/springboot/GrpcComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-grpc-starter/src/main/java/org/apache/camel/component/grpc/springboot/GrpcComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-grpc-starter/src/main/java/org/apache/camel/component/grpc/springboot/GrpcComponentAutoConfiguration.java
index c89517d..d57b077 100644
--- a/platforms/spring-boot/components-starter/camel-grpc-starter/src/main/java/org/apache/camel/component/grpc/springboot/GrpcComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-grpc-starter/src/main/java/org/apache/camel/component/grpc/springboot/GrpcComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class GrpcComponentAutoConfiguration 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<GrpcComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<GrpcComponent> 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-gson-starter/src/main/java/org/apache/camel/component/gson/springboot/GsonDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-gson-starter/src/main/java/org/apache/camel/component/gson/springboot/GsonDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-gson-starter/src/main/java/org/apache/camel/component/gson/springboot/GsonDataFormatAutoConfiguration.java
index 727b885..ccfc794 100644
--- a/platforms/spring-boot/components-starter/camel-gson-starter/src/main/java/org/apache/camel/component/gson/springboot/GsonDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-gson-starter/src/main/java/org/apache/camel/component/gson/springboot/GsonDataFormatAutoConfiguration.java
@@ -111,15 +111,15 @@ public class GsonDataFormatAutoConfiguration 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<GsonDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<GsonDataFormat> 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-guava-eventbus-starter/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-guava-eventbus-starter/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-guava-eventbus-starter/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentAutoConfiguration.java
index 4021a3a..73e68ff 100644
--- a/platforms/spring-boot/components-starter/camel-guava-eventbus-starter/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-guava-eventbus-starter/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentAutoConfiguration.java
@@ -117,14 +117,14 @@ public class GuavaEventBusComponentAutoConfiguration
}
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<GuavaEventBusComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<GuavaEventBusComponent> 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-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/atomicnumber/springboot/HazelcastAtomicnumberComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/atomicnumber/springboot/HazelcastAtomicnumberComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/atomicnumber/springboot/HazelcastAtomicnumberComponentAutoConfiguration.java
index 032a44d..b7f5080 100644
--- a/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/atomicnumber/springboot/HazelcastAtomicnumberComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/atomicnumber/springboot/HazelcastAtomicnumberComponentAutoConfiguration.java
@@ -117,14 +117,14 @@ public class HazelcastAtomicnumberComponentAutoConfiguration
}
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<HazelcastAtomicnumberComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<HazelcastAtomicnumberComponent> 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-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/instance/springboot/HazelcastInstanceComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/instance/springboot/HazelcastInstanceComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/instance/springboot/HazelcastInstanceComponentAutoConfiguration.java
index 4f21c59..46ee522 100644
--- a/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/instance/springboot/HazelcastInstanceComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/instance/springboot/HazelcastInstanceComponentAutoConfiguration.java
@@ -117,14 +117,14 @@ public class HazelcastInstanceComponentAutoConfiguration
}
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<HazelcastInstanceComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<HazelcastInstanceComponent> 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-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/list/springboot/HazelcastListComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/list/springboot/HazelcastListComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/list/springboot/HazelcastListComponentAutoConfiguration.java
index c928552..a58b811 100644
--- a/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/list/springboot/HazelcastListComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/list/springboot/HazelcastListComponentAutoConfiguration.java
@@ -117,14 +117,14 @@ public class HazelcastListComponentAutoConfiguration
}
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<HazelcastListComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<HazelcastListComponent> 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-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/map/springboot/HazelcastMapComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/map/springboot/HazelcastMapComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/map/springboot/HazelcastMapComponentAutoConfiguration.java
index 13e2c09..1a94c7a 100644
--- a/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/map/springboot/HazelcastMapComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/map/springboot/HazelcastMapComponentAutoConfiguration.java
@@ -115,14 +115,14 @@ public class HazelcastMapComponentAutoConfiguration 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<HazelcastMapComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<HazelcastMapComponent> 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-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/multimap/springboot/HazelcastMultimapComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/multimap/springboot/HazelcastMultimapComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/multimap/springboot/HazelcastMultimapComponentAutoConfiguration.java
index 9c6e4f6..9db8698 100644
--- a/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/multimap/springboot/HazelcastMultimapComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/multimap/springboot/HazelcastMultimapComponentAutoConfiguration.java
@@ -117,14 +117,14 @@ public class HazelcastMultimapComponentAutoConfiguration
}
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<HazelcastMultimapComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<HazelcastMultimapComponent> 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-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/queue/springboot/HazelcastQueueComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/queue/springboot/HazelcastQueueComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/queue/springboot/HazelcastQueueComponentAutoConfiguration.java
index cbb5938..c395129 100644
--- a/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/queue/springboot/HazelcastQueueComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/queue/springboot/HazelcastQueueComponentAutoConfiguration.java
@@ -117,14 +117,14 @@ public class HazelcastQueueComponentAutoConfiguration
}
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<HazelcastQueueComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<HazelcastQueueComponent> 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-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/replicatedmap/springboot/HazelcastReplicatedmapComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/replicatedmap/springboot/HazelcastReplicatedmapComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/replicatedmap/springboot/HazelcastReplicatedmapComponentAutoConfiguration.java
index 6c8b58c..3535952 100644
--- a/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/replicatedmap/springboot/HazelcastReplicatedmapComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/replicatedmap/springboot/HazelcastReplicatedmapComponentAutoConfiguration.java
@@ -117,14 +117,14 @@ public class HazelcastReplicatedmapComponentAutoConfiguration
}
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<HazelcastReplicatedmapComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<HazelcastReplicatedmapComponent> 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-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/ringbuffer/springboot/HazelcastRingbufferComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/ringbuffer/springboot/HazelcastRingbufferComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/ringbuffer/springboot/HazelcastRingbufferComponentAutoConfiguration.java
index 3480765..4180102 100644
--- a/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/ringbuffer/springboot/HazelcastRingbufferComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/ringbuffer/springboot/HazelcastRingbufferComponentAutoConfiguration.java
@@ -117,14 +117,14 @@ public class HazelcastRingbufferComponentAutoConfiguration
}
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<HazelcastRingbufferComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<HazelcastRingbufferComponent> 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-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/seda/springboot/HazelcastSedaComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/seda/springboot/HazelcastSedaComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/seda/springboot/HazelcastSedaComponentAutoConfiguration.java
index bc75276..e116ae7 100644
--- a/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/seda/springboot/HazelcastSedaComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/seda/springboot/HazelcastSedaComponentAutoConfiguration.java
@@ -117,14 +117,14 @@ public class HazelcastSedaComponentAutoConfiguration
}
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<HazelcastSedaComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<HazelcastSedaComponent> 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-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/set/springboot/HazelcastSetComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/set/springboot/HazelcastSetComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/set/springboot/HazelcastSetComponentAutoConfiguration.java
index 23801f5..8f6adde 100644
--- a/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/set/springboot/HazelcastSetComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/set/springboot/HazelcastSetComponentAutoConfiguration.java
@@ -115,14 +115,14 @@ public class HazelcastSetComponentAutoConfiguration 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<HazelcastSetComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<HazelcastSetComponent> 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-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/topic/springboot/HazelcastTopicComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/topic/springboot/HazelcastTopicComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/topic/springboot/HazelcastTopicComponentAutoConfiguration.java
index 951a3c0..5e0b991 100644
--- a/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/topic/springboot/HazelcastTopicComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-hazelcast-starter/src/main/java/org/apache/camel/component/hazelcast/topic/springboot/HazelcastTopicComponentAutoConfiguration.java
@@ -117,14 +117,14 @@ public class HazelcastTopicComponentAutoConfiguration
}
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<HazelcastTopicComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<HazelcastTopicComponent> 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-hbase-starter/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-hbase-starter/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-hbase-starter/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentAutoConfiguration.java
index a35e8eb..1a7ba8c 100644
--- a/platforms/spring-boot/components-starter/camel-hbase-starter/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-hbase-starter/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class HBaseComponentAutoConfiguration 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<HBaseComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<HBaseComponent> 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-hdfs-starter/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-hdfs-starter/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-hdfs-starter/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentAutoConfiguration.java
index 2b3d597..5e8df80 100644
--- a/platforms/spring-boot/components-starter/camel-hdfs-starter/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-hdfs-starter/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class HdfsComponentAutoConfiguration 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<HdfsComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<HdfsComponent> 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-hdfs2-starter/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-hdfs2-starter/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-hdfs2-starter/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentAutoConfiguration.java
index 1443f2d..6f6b1ea 100644
--- a/platforms/spring-boot/components-starter/camel-hdfs2-starter/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-hdfs2-starter/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class HdfsComponentAutoConfiguration 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<HdfsComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<HdfsComponent> 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-hessian-starter/src/main/java/org/apache/camel/dataformat/hessian/springboot/HessianDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-hessian-starter/src/main/java/org/apache/camel/dataformat/hessian/springboot/HessianDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-hessian-starter/src/main/java/org/apache/camel/dataformat/hessian/springboot/HessianDataFormatAutoConfiguration.java
index ea4c243..db0d9b5 100644
--- a/platforms/spring-boot/components-starter/camel-hessian-starter/src/main/java/org/apache/camel/dataformat/hessian/springboot/HessianDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-hessian-starter/src/main/java/org/apache/camel/dataformat/hessian/springboot/HessianDataFormatAutoConfiguration.java
@@ -112,15 +112,15 @@ public class HessianDataFormatAutoConfiguration 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<HessianDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<HessianDataFormat> 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-hipchat-starter/src/main/java/org/apache/camel/component/hipchat/springboot/HipchatComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-hipchat-starter/src/main/java/org/apache/camel/component/hipchat/springboot/HipchatComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-hipchat-starter/src/main/java/org/apache/camel/component/hipchat/springboot/HipchatComponentAutoConfiguration.java
index 768da11..045eb7c 100644
--- a/platforms/spring-boot/components-starter/camel-hipchat-starter/src/main/java/org/apache/camel/component/hipchat/springboot/HipchatComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-hipchat-starter/src/main/java/org/apache/camel/component/hipchat/springboot/HipchatComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class HipchatComponentAutoConfiguration 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<HipchatComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<HipchatComponent> customizer : customizers) {
+ LOGGER.debug("Configure component {}, with customizer {}",
+ component, customizer);
+ customizer.customize(component);
}
}
return component;
[05/11] camel git commit: Fix wrong name for customizers
Posted by lb...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-openstack-starter/src/main/java/org/apache/camel/component/openstack/neutron/springboot/NeutronComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-openstack-starter/src/main/java/org/apache/camel/component/openstack/neutron/springboot/NeutronComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-openstack-starter/src/main/java/org/apache/camel/component/openstack/neutron/springboot/NeutronComponentAutoConfiguration.java
index 2f41f4e..e45d6f2 100644
--- a/platforms/spring-boot/components-starter/camel-openstack-starter/src/main/java/org/apache/camel/component/openstack/neutron/springboot/NeutronComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-openstack-starter/src/main/java/org/apache/camel/component/openstack/neutron/springboot/NeutronComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class NeutronComponentAutoConfiguration 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<NeutronComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<NeutronComponent> 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-openstack-starter/src/main/java/org/apache/camel/component/openstack/nova/springboot/NovaComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-openstack-starter/src/main/java/org/apache/camel/component/openstack/nova/springboot/NovaComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-openstack-starter/src/main/java/org/apache/camel/component/openstack/nova/springboot/NovaComponentAutoConfiguration.java
index bb3d2c1..6e88e31 100644
--- a/platforms/spring-boot/components-starter/camel-openstack-starter/src/main/java/org/apache/camel/component/openstack/nova/springboot/NovaComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-openstack-starter/src/main/java/org/apache/camel/component/openstack/nova/springboot/NovaComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class NovaComponentAutoConfiguration 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<NovaComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<NovaComponent> 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-openstack-starter/src/main/java/org/apache/camel/component/openstack/swift/springboot/SwiftComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-openstack-starter/src/main/java/org/apache/camel/component/openstack/swift/springboot/SwiftComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-openstack-starter/src/main/java/org/apache/camel/component/openstack/swift/springboot/SwiftComponentAutoConfiguration.java
index db202b4..61b8f95 100644
--- a/platforms/spring-boot/components-starter/camel-openstack-starter/src/main/java/org/apache/camel/component/openstack/swift/springboot/SwiftComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-openstack-starter/src/main/java/org/apache/camel/component/openstack/swift/springboot/SwiftComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class SwiftComponentAutoConfiguration 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<SwiftComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<SwiftComponent> 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-optaplanner-starter/src/main/java/org/apache/camel/component/optaplanner/springboot/OptaPlannerComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-optaplanner-starter/src/main/java/org/apache/camel/component/optaplanner/springboot/OptaPlannerComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-optaplanner-starter/src/main/java/org/apache/camel/component/optaplanner/springboot/OptaPlannerComponentAutoConfiguration.java
index c3da593..2de389e 100644
--- a/platforms/spring-boot/components-starter/camel-optaplanner-starter/src/main/java/org/apache/camel/component/optaplanner/springboot/OptaPlannerComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-optaplanner-starter/src/main/java/org/apache/camel/component/optaplanner/springboot/OptaPlannerComponentAutoConfiguration.java
@@ -115,14 +115,14 @@ public class OptaPlannerComponentAutoConfiguration 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<OptaPlannerComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<OptaPlannerComponent> 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-paho-starter/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-paho-starter/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-paho-starter/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentAutoConfiguration.java
index e61d43e..44f2995 100644
--- a/platforms/spring-boot/components-starter/camel-paho-starter/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-paho-starter/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class PahoComponentAutoConfiguration 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<PahoComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<PahoComponent> 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-pdf-starter/src/main/java/org/apache/camel/component/pdf/springboot/PdfComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-pdf-starter/src/main/java/org/apache/camel/component/pdf/springboot/PdfComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-pdf-starter/src/main/java/org/apache/camel/component/pdf/springboot/PdfComponentAutoConfiguration.java
index d16f8f4..d0b50b1 100644
--- a/platforms/spring-boot/components-starter/camel-pdf-starter/src/main/java/org/apache/camel/component/pdf/springboot/PdfComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-pdf-starter/src/main/java/org/apache/camel/component/pdf/springboot/PdfComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class PdfComponentAutoConfiguration 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<PdfComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<PdfComponent> 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-pgevent-starter/src/main/java/org/apache/camel/component/pgevent/springboot/PgEventComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-pgevent-starter/src/main/java/org/apache/camel/component/pgevent/springboot/PgEventComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-pgevent-starter/src/main/java/org/apache/camel/component/pgevent/springboot/PgEventComponentAutoConfiguration.java
index 0a5b851..a228390 100644
--- a/platforms/spring-boot/components-starter/camel-pgevent-starter/src/main/java/org/apache/camel/component/pgevent/springboot/PgEventComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-pgevent-starter/src/main/java/org/apache/camel/component/pgevent/springboot/PgEventComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class PgEventComponentAutoConfiguration 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<PgEventComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<PgEventComponent> 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-printer-starter/src/main/java/org/apache/camel/component/printer/springboot/PrinterComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-printer-starter/src/main/java/org/apache/camel/component/printer/springboot/PrinterComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-printer-starter/src/main/java/org/apache/camel/component/printer/springboot/PrinterComponentAutoConfiguration.java
index 1244bfc..5059829 100644
--- a/platforms/spring-boot/components-starter/camel-printer-starter/src/main/java/org/apache/camel/component/printer/springboot/PrinterComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-printer-starter/src/main/java/org/apache/camel/component/printer/springboot/PrinterComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class PrinterComponentAutoConfiguration 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<PrinterComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<PrinterComponent> 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-protobuf-starter/src/main/java/org/apache/camel/dataformat/protobuf/springboot/ProtobufDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-protobuf-starter/src/main/java/org/apache/camel/dataformat/protobuf/springboot/ProtobufDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-protobuf-starter/src/main/java/org/apache/camel/dataformat/protobuf/springboot/ProtobufDataFormatAutoConfiguration.java
index 8022dff..b995a59 100644
--- a/platforms/spring-boot/components-starter/camel-protobuf-starter/src/main/java/org/apache/camel/dataformat/protobuf/springboot/ProtobufDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-protobuf-starter/src/main/java/org/apache/camel/dataformat/protobuf/springboot/ProtobufDataFormatAutoConfiguration.java
@@ -112,15 +112,15 @@ public class ProtobufDataFormatAutoConfiguration 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<ProtobufDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<ProtobufDataFormat> 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-pubnub-starter/src/main/java/org/apache/camel/component/pubnub/springboot/PubNubComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-pubnub-starter/src/main/java/org/apache/camel/component/pubnub/springboot/PubNubComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-pubnub-starter/src/main/java/org/apache/camel/component/pubnub/springboot/PubNubComponentAutoConfiguration.java
index 2419028..e47a35a 100644
--- a/platforms/spring-boot/components-starter/camel-pubnub-starter/src/main/java/org/apache/camel/component/pubnub/springboot/PubNubComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-pubnub-starter/src/main/java/org/apache/camel/component/pubnub/springboot/PubNubComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class PubNubComponentAutoConfiguration 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<PubNubComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<PubNubComponent> 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-quartz2-starter/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-quartz2-starter/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-quartz2-starter/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentAutoConfiguration.java
index bb67597..7a65a7b 100644
--- a/platforms/spring-boot/components-starter/camel-quartz2-starter/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-quartz2-starter/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class QuartzComponentAutoConfiguration 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<QuartzComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<QuartzComponent> 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-quickfix-starter/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-quickfix-starter/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-quickfix-starter/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentAutoConfiguration.java
index 2c18e2f..e8c7e17 100644
--- a/platforms/spring-boot/components-starter/camel-quickfix-starter/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-quickfix-starter/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class QuickfixjComponentAutoConfiguration 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<QuickfixjComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<QuickfixjComponent> 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-rabbitmq-starter/src/main/java/org/apache/camel/component/rabbitmq/springboot/RabbitMQComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-rabbitmq-starter/src/main/java/org/apache/camel/component/rabbitmq/springboot/RabbitMQComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-rabbitmq-starter/src/main/java/org/apache/camel/component/rabbitmq/springboot/RabbitMQComponentAutoConfiguration.java
index c01d563..3d4c632 100644
--- a/platforms/spring-boot/components-starter/camel-rabbitmq-starter/src/main/java/org/apache/camel/component/rabbitmq/springboot/RabbitMQComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-rabbitmq-starter/src/main/java/org/apache/camel/component/rabbitmq/springboot/RabbitMQComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class RabbitMQComponentAutoConfiguration 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<RabbitMQComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<RabbitMQComponent> 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-reactive-streams-starter/src/main/java/org/apache/camel/component/reactive/streams/springboot/ReactiveStreamsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-reactive-streams-starter/src/main/java/org/apache/camel/component/reactive/streams/springboot/ReactiveStreamsComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-reactive-streams-starter/src/main/java/org/apache/camel/component/reactive/streams/springboot/ReactiveStreamsComponentAutoConfiguration.java
index f155819..c2ef551 100644
--- a/platforms/spring-boot/components-starter/camel-reactive-streams-starter/src/main/java/org/apache/camel/component/reactive/streams/springboot/ReactiveStreamsComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-reactive-streams-starter/src/main/java/org/apache/camel/component/reactive/streams/springboot/ReactiveStreamsComponentAutoConfiguration.java
@@ -117,14 +117,14 @@ public class ReactiveStreamsComponentAutoConfiguration
}
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<ReactiveStreamsComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<ReactiveStreamsComponent> 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-rest-swagger-starter/src/main/java/org/apache/camel/component/rest/swagger/springboot/RestSwaggerComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-rest-swagger-starter/src/main/java/org/apache/camel/component/rest/swagger/springboot/RestSwaggerComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-rest-swagger-starter/src/main/java/org/apache/camel/component/rest/swagger/springboot/RestSwaggerComponentAutoConfiguration.java
index 71f0e4b..1dc975c 100644
--- a/platforms/spring-boot/components-starter/camel-rest-swagger-starter/src/main/java/org/apache/camel/component/rest/swagger/springboot/RestSwaggerComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-rest-swagger-starter/src/main/java/org/apache/camel/component/rest/swagger/springboot/RestSwaggerComponentAutoConfiguration.java
@@ -115,14 +115,14 @@ public class RestSwaggerComponentAutoConfiguration 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<RestSwaggerComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<RestSwaggerComponent> 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-restlet-starter/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-restlet-starter/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-restlet-starter/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentAutoConfiguration.java
index 9e1cfc6..6a16e7f 100644
--- a/platforms/spring-boot/components-starter/camel-restlet-starter/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-restlet-starter/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class RestletComponentAutoConfiguration 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<RestletComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<RestletComponent> 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-rmi-starter/src/main/java/org/apache/camel/component/rmi/springboot/RmiComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-rmi-starter/src/main/java/org/apache/camel/component/rmi/springboot/RmiComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-rmi-starter/src/main/java/org/apache/camel/component/rmi/springboot/RmiComponentAutoConfiguration.java
index 77b8acd..12ef5ba 100644
--- a/platforms/spring-boot/components-starter/camel-rmi-starter/src/main/java/org/apache/camel/component/rmi/springboot/RmiComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-rmi-starter/src/main/java/org/apache/camel/component/rmi/springboot/RmiComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class RmiComponentAutoConfiguration 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<RmiComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<RmiComponent> 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-routebox-starter/src/main/java/org/apache/camel/component/routebox/springboot/RouteboxComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-routebox-starter/src/main/java/org/apache/camel/component/routebox/springboot/RouteboxComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-routebox-starter/src/main/java/org/apache/camel/component/routebox/springboot/RouteboxComponentAutoConfiguration.java
index 7d33dbb..d42cf8c 100644
--- a/platforms/spring-boot/components-starter/camel-routebox-starter/src/main/java/org/apache/camel/component/routebox/springboot/RouteboxComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-routebox-starter/src/main/java/org/apache/camel/component/routebox/springboot/RouteboxComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class RouteboxComponentAutoConfiguration 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<RouteboxComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<RouteboxComponent> 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-rss-starter/src/main/java/org/apache/camel/component/rss/springboot/RssComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-rss-starter/src/main/java/org/apache/camel/component/rss/springboot/RssComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-rss-starter/src/main/java/org/apache/camel/component/rss/springboot/RssComponentAutoConfiguration.java
index e5d5c7c..ec3a296 100644
--- a/platforms/spring-boot/components-starter/camel-rss-starter/src/main/java/org/apache/camel/component/rss/springboot/RssComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-rss-starter/src/main/java/org/apache/camel/component/rss/springboot/RssComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class RssComponentAutoConfiguration 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<RssComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<RssComponent> 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-rss-starter/src/main/java/org/apache/camel/dataformat/rss/springboot/RssDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-rss-starter/src/main/java/org/apache/camel/dataformat/rss/springboot/RssDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-rss-starter/src/main/java/org/apache/camel/dataformat/rss/springboot/RssDataFormatAutoConfiguration.java
index 93b4d7e..4766b19 100644
--- a/platforms/spring-boot/components-starter/camel-rss-starter/src/main/java/org/apache/camel/dataformat/rss/springboot/RssDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-rss-starter/src/main/java/org/apache/camel/dataformat/rss/springboot/RssDataFormatAutoConfiguration.java
@@ -111,15 +111,15 @@ public class RssDataFormatAutoConfiguration 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<RssDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<RssDataFormat> 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-salesforce-starter/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-salesforce-starter/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-salesforce-starter/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentAutoConfiguration.java
index a00e3bf..e26d4a1 100644
--- a/platforms/spring-boot/components-starter/camel-salesforce-starter/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-salesforce-starter/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class SalesforceComponentAutoConfiguration 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<SalesforceComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<SalesforceComponent> 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-sap-netweaver-starter/src/main/java/org/apache/camel/component/sap/netweaver/springboot/NetWeaverComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-sap-netweaver-starter/src/main/java/org/apache/camel/component/sap/netweaver/springboot/NetWeaverComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-sap-netweaver-starter/src/main/java/org/apache/camel/component/sap/netweaver/springboot/NetWeaverComponentAutoConfiguration.java
index e49948f..59021cc 100644
--- a/platforms/spring-boot/components-starter/camel-sap-netweaver-starter/src/main/java/org/apache/camel/component/sap/netweaver/springboot/NetWeaverComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-sap-netweaver-starter/src/main/java/org/apache/camel/component/sap/netweaver/springboot/NetWeaverComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class NetWeaverComponentAutoConfiguration 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<NetWeaverComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<NetWeaverComponent> 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-saxon-starter/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-saxon-starter/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-saxon-starter/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentAutoConfiguration.java
index 0ad9896..d9bffd8 100644
--- a/platforms/spring-boot/components-starter/camel-saxon-starter/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-saxon-starter/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class XQueryComponentAutoConfiguration 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<XQueryComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<XQueryComponent> 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-saxon-starter/src/main/java/org/apache/camel/language/xquery/springboot/XQueryLanguageAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-saxon-starter/src/main/java/org/apache/camel/language/xquery/springboot/XQueryLanguageAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-saxon-starter/src/main/java/org/apache/camel/language/xquery/springboot/XQueryLanguageAutoConfiguration.java
index 00e7137..64d1f67 100644
--- a/platforms/spring-boot/components-starter/camel-saxon-starter/src/main/java/org/apache/camel/language/xquery/springboot/XQueryLanguageAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-saxon-starter/src/main/java/org/apache/camel/language/xquery/springboot/XQueryLanguageAutoConfiguration.java
@@ -102,14 +102,14 @@ public class XQueryLanguageAutoConfiguration 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<XQueryLanguage> configurer : customizers) {
- LOGGER.debug("Configure language {}, with configurer {}",
- language, configurer);
- configurer.customize(language);
+ && languageConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (LanguageCustomizer<XQueryLanguage> 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-schematron-starter/src/main/java/org/apache/camel/component/schematron/springboot/SchematronComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-schematron-starter/src/main/java/org/apache/camel/component/schematron/springboot/SchematronComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-schematron-starter/src/main/java/org/apache/camel/component/schematron/springboot/SchematronComponentAutoConfiguration.java
index 3a6641c..3a5b076 100644
--- a/platforms/spring-boot/components-starter/camel-schematron-starter/src/main/java/org/apache/camel/component/schematron/springboot/SchematronComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-schematron-starter/src/main/java/org/apache/camel/component/schematron/springboot/SchematronComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class SchematronComponentAutoConfiguration 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<SchematronComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<SchematronComponent> 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-script-starter/src/main/java/org/apache/camel/builder/script/springboot/JavaScriptLanguageAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-script-starter/src/main/java/org/apache/camel/builder/script/springboot/JavaScriptLanguageAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-script-starter/src/main/java/org/apache/camel/builder/script/springboot/JavaScriptLanguageAutoConfiguration.java
index 3885b92..0ca7858 100644
--- a/platforms/spring-boot/components-starter/camel-script-starter/src/main/java/org/apache/camel/builder/script/springboot/JavaScriptLanguageAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-script-starter/src/main/java/org/apache/camel/builder/script/springboot/JavaScriptLanguageAutoConfiguration.java
@@ -102,14 +102,14 @@ public class JavaScriptLanguageAutoConfiguration 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<JavaScriptLanguage> configurer : customizers) {
- LOGGER.debug("Configure language {}, with configurer {}",
- language, configurer);
- configurer.customize(language);
+ && languageConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (LanguageCustomizer<JavaScriptLanguage> 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-script-starter/src/main/java/org/apache/camel/builder/script/springboot/PhpLanguageAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-script-starter/src/main/java/org/apache/camel/builder/script/springboot/PhpLanguageAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-script-starter/src/main/java/org/apache/camel/builder/script/springboot/PhpLanguageAutoConfiguration.java
index 2105527..c410357 100644
--- a/platforms/spring-boot/components-starter/camel-script-starter/src/main/java/org/apache/camel/builder/script/springboot/PhpLanguageAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-script-starter/src/main/java/org/apache/camel/builder/script/springboot/PhpLanguageAutoConfiguration.java
@@ -102,14 +102,14 @@ public class PhpLanguageAutoConfiguration 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<PhpLanguage> configurer : customizers) {
- LOGGER.debug("Configure language {}, with configurer {}",
- language, configurer);
- configurer.customize(language);
+ && languageConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (LanguageCustomizer<PhpLanguage> 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-script-starter/src/main/java/org/apache/camel/builder/script/springboot/PythonLanguageAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-script-starter/src/main/java/org/apache/camel/builder/script/springboot/PythonLanguageAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-script-starter/src/main/java/org/apache/camel/builder/script/springboot/PythonLanguageAutoConfiguration.java
index fa09d1e..cbd9763 100644
--- a/platforms/spring-boot/components-starter/camel-script-starter/src/main/java/org/apache/camel/builder/script/springboot/PythonLanguageAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-script-starter/src/main/java/org/apache/camel/builder/script/springboot/PythonLanguageAutoConfiguration.java
@@ -102,14 +102,14 @@ public class PythonLanguageAutoConfiguration 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<PythonLanguage> configurer : customizers) {
- LOGGER.debug("Configure language {}, with configurer {}",
- language, configurer);
- configurer.customize(language);
+ && languageConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (LanguageCustomizer<PythonLanguage> 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-script-starter/src/main/java/org/apache/camel/builder/script/springboot/RubyLanguageAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-script-starter/src/main/java/org/apache/camel/builder/script/springboot/RubyLanguageAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-script-starter/src/main/java/org/apache/camel/builder/script/springboot/RubyLanguageAutoConfiguration.java
index 8663695..1190050 100644
--- a/platforms/spring-boot/components-starter/camel-script-starter/src/main/java/org/apache/camel/builder/script/springboot/RubyLanguageAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-script-starter/src/main/java/org/apache/camel/builder/script/springboot/RubyLanguageAutoConfiguration.java
@@ -102,14 +102,14 @@ public class RubyLanguageAutoConfiguration 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<RubyLanguage> configurer : customizers) {
- LOGGER.debug("Configure language {}, with configurer {}",
- language, configurer);
- configurer.customize(language);
+ && languageConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (LanguageCustomizer<RubyLanguage> 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-servicenow-starter/src/main/java/org/apache/camel/component/servicenow/springboot/ServiceNowComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-servicenow-starter/src/main/java/org/apache/camel/component/servicenow/springboot/ServiceNowComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-servicenow-starter/src/main/java/org/apache/camel/component/servicenow/springboot/ServiceNowComponentAutoConfiguration.java
index 3e176b0..9ee9722 100644
--- a/platforms/spring-boot/components-starter/camel-servicenow-starter/src/main/java/org/apache/camel/component/servicenow/springboot/ServiceNowComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-servicenow-starter/src/main/java/org/apache/camel/component/servicenow/springboot/ServiceNowComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class ServiceNowComponentAutoConfiguration 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<ServiceNowComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<ServiceNowComponent> 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-servlet-starter/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-servlet-starter/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-servlet-starter/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentAutoConfiguration.java
index 9cf11b5..21a36d0 100644
--- a/platforms/spring-boot/components-starter/camel-servlet-starter/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-servlet-starter/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class ServletComponentAutoConfiguration 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<ServletComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<ServletComponent> 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-sip-starter/src/main/java/org/apache/camel/component/sip/springboot/SipComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-sip-starter/src/main/java/org/apache/camel/component/sip/springboot/SipComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-sip-starter/src/main/java/org/apache/camel/component/sip/springboot/SipComponentAutoConfiguration.java
index a766692..ac002fd 100644
--- a/platforms/spring-boot/components-starter/camel-sip-starter/src/main/java/org/apache/camel/component/sip/springboot/SipComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-sip-starter/src/main/java/org/apache/camel/component/sip/springboot/SipComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class SipComponentAutoConfiguration 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<SipComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<SipComponent> 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-sjms-starter/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-sjms-starter/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-sjms-starter/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentAutoConfiguration.java
index 068b2c0..2f12efc 100644
--- a/platforms/spring-boot/components-starter/camel-sjms-starter/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-sjms-starter/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class SjmsBatchComponentAutoConfiguration 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<SjmsBatchComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<SjmsBatchComponent> 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-sjms-starter/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-sjms-starter/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-sjms-starter/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentAutoConfiguration.java
index 096c823..8eb516a 100644
--- a/platforms/spring-boot/components-starter/camel-sjms-starter/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-sjms-starter/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class SjmsComponentAutoConfiguration 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<SjmsComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<SjmsComponent> 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-sjms2-starter/src/main/java/org/apache/camel/component/sjms2/springboot/Sjms2ComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-sjms2-starter/src/main/java/org/apache/camel/component/sjms2/springboot/Sjms2ComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-sjms2-starter/src/main/java/org/apache/camel/component/sjms2/springboot/Sjms2ComponentAutoConfiguration.java
index 3fcc0ed..a4687a4 100644
--- a/platforms/spring-boot/components-starter/camel-sjms2-starter/src/main/java/org/apache/camel/component/sjms2/springboot/Sjms2ComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-sjms2-starter/src/main/java/org/apache/camel/component/sjms2/springboot/Sjms2ComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class Sjms2ComponentAutoConfiguration 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<Sjms2Component> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<Sjms2Component> 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-slack-starter/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-slack-starter/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-slack-starter/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentAutoConfiguration.java
index 2cf5851..606b62f 100644
--- a/platforms/spring-boot/components-starter/camel-slack-starter/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-slack-starter/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class SlackComponentAutoConfiguration 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<SlackComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<SlackComponent> 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-smpp-starter/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-smpp-starter/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-smpp-starter/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentAutoConfiguration.java
index 3b69911..b4c1004 100644
--- a/platforms/spring-boot/components-starter/camel-smpp-starter/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-smpp-starter/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class SmppComponentAutoConfiguration 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<SmppComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<SmppComponent> 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-snakeyaml-starter/src/main/java/org/apache/camel/component/snakeyaml/springboot/SnakeYAMLDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-snakeyaml-starter/src/main/java/org/apache/camel/component/snakeyaml/springboot/SnakeYAMLDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-snakeyaml-starter/src/main/java/org/apache/camel/component/snakeyaml/springboot/SnakeYAMLDataFormatAutoConfiguration.java
index 02dff39..98a9bdb 100644
--- a/platforms/spring-boot/components-starter/camel-snakeyaml-starter/src/main/java/org/apache/camel/component/snakeyaml/springboot/SnakeYAMLDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-snakeyaml-starter/src/main/java/org/apache/camel/component/snakeyaml/springboot/SnakeYAMLDataFormatAutoConfiguration.java
@@ -112,15 +112,15 @@ public class SnakeYAMLDataFormatAutoConfiguration 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<SnakeYAMLDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<SnakeYAMLDataFormat> 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-snmp-starter/src/main/java/org/apache/camel/component/snmp/springboot/SnmpComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-snmp-starter/src/main/java/org/apache/camel/component/snmp/springboot/SnmpComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-snmp-starter/src/main/java/org/apache/camel/component/snmp/springboot/SnmpComponentAutoConfiguration.java
index 238a82c..896231a 100644
--- a/platforms/spring-boot/components-starter/camel-snmp-starter/src/main/java/org/apache/camel/component/snmp/springboot/SnmpComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-snmp-starter/src/main/java/org/apache/camel/component/snmp/springboot/SnmpComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class SnmpComponentAutoConfiguration 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<SnmpComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<SnmpComponent> customizer : customizers) {
+ LOGGER.debug("Configure component {}, with customizer {}",
+ component, customizer);
+ customizer.customize(component);
}
}
return component;
[10/11] camel git commit: Fix wrong name for customizers
Posted by lb...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/csv/springboot/BindyCsvDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/csv/springboot/BindyCsvDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/csv/springboot/BindyCsvDataFormatAutoConfiguration.java
index dd85c10..6f0a51b 100644
--- a/platforms/spring-boot/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/csv/springboot/BindyCsvDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/csv/springboot/BindyCsvDataFormatAutoConfiguration.java
@@ -112,15 +112,15 @@ public class BindyCsvDataFormatAutoConfiguration 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<BindyCsvDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<BindyCsvDataFormat> 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-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/fixed/springboot/BindyFixedLengthDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/fixed/springboot/BindyFixedLengthDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/fixed/springboot/BindyFixedLengthDataFormatAutoConfiguration.java
index 8a371b4..e45b447 100644
--- a/platforms/spring-boot/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/fixed/springboot/BindyFixedLengthDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/fixed/springboot/BindyFixedLengthDataFormatAutoConfiguration.java
@@ -114,15 +114,15 @@ public class BindyFixedLengthDataFormatAutoConfiguration
} 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<BindyFixedLengthDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<BindyFixedLengthDataFormat> 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-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/kvp/springboot/BindyKeyValuePairDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/kvp/springboot/BindyKeyValuePairDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/kvp/springboot/BindyKeyValuePairDataFormatAutoConfiguration.java
index f4074b1..f88e9fd 100644
--- a/platforms/spring-boot/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/kvp/springboot/BindyKeyValuePairDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/kvp/springboot/BindyKeyValuePairDataFormatAutoConfiguration.java
@@ -114,15 +114,15 @@ public class BindyKeyValuePairDataFormatAutoConfiguration
} 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<BindyKeyValuePairDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<BindyKeyValuePairDataFormat> 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-bonita-starter/src/main/java/org/apache/camel/component/bonita/springboot/BonitaComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-bonita-starter/src/main/java/org/apache/camel/component/bonita/springboot/BonitaComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-bonita-starter/src/main/java/org/apache/camel/component/bonita/springboot/BonitaComponentAutoConfiguration.java
index 454d173..45bc7f0 100644
--- a/platforms/spring-boot/components-starter/camel-bonita-starter/src/main/java/org/apache/camel/component/bonita/springboot/BonitaComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-bonita-starter/src/main/java/org/apache/camel/component/bonita/springboot/BonitaComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class BonitaComponentAutoConfiguration 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<BonitaComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<BonitaComponent> 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-boon-starter/src/main/java/org/apache/camel/component/boon/springboot/BoonDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-boon-starter/src/main/java/org/apache/camel/component/boon/springboot/BoonDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-boon-starter/src/main/java/org/apache/camel/component/boon/springboot/BoonDataFormatAutoConfiguration.java
index fd0ecd0..db799d0 100644
--- a/platforms/spring-boot/components-starter/camel-boon-starter/src/main/java/org/apache/camel/component/boon/springboot/BoonDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-boon-starter/src/main/java/org/apache/camel/component/boon/springboot/BoonDataFormatAutoConfiguration.java
@@ -111,15 +111,15 @@ public class BoonDataFormatAutoConfiguration 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<BoonDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<BoonDataFormat> 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-box-starter/src/main/java/org/apache/camel/component/box/springboot/BoxComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-box-starter/src/main/java/org/apache/camel/component/box/springboot/BoxComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-box-starter/src/main/java/org/apache/camel/component/box/springboot/BoxComponentAutoConfiguration.java
index 66aa8ff..098c95f 100644
--- a/platforms/spring-boot/components-starter/camel-box-starter/src/main/java/org/apache/camel/component/box/springboot/BoxComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-box-starter/src/main/java/org/apache/camel/component/box/springboot/BoxComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class BoxComponentAutoConfiguration 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<BoxComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<BoxComponent> 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-braintree-starter/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-braintree-starter/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-braintree-starter/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentAutoConfiguration.java
index 8eecaab..26b00a9 100644
--- a/platforms/spring-boot/components-starter/camel-braintree-starter/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-braintree-starter/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class BraintreeComponentAutoConfiguration 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<BraintreeComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<BraintreeComponent> 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-cache-starter/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-cache-starter/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-cache-starter/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentAutoConfiguration.java
index 242281e..e660d67 100644
--- a/platforms/spring-boot/components-starter/camel-cache-starter/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-cache-starter/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class CacheComponentAutoConfiguration 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<CacheComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<CacheComponent> 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-cassandraql-starter/src/main/java/org/apache/camel/component/cassandra/springboot/CassandraComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-cassandraql-starter/src/main/java/org/apache/camel/component/cassandra/springboot/CassandraComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-cassandraql-starter/src/main/java/org/apache/camel/component/cassandra/springboot/CassandraComponentAutoConfiguration.java
index 775e232..11103e8 100644
--- a/platforms/spring-boot/components-starter/camel-cassandraql-starter/src/main/java/org/apache/camel/component/cassandra/springboot/CassandraComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-cassandraql-starter/src/main/java/org/apache/camel/component/cassandra/springboot/CassandraComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class CassandraComponentAutoConfiguration 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<CassandraComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<CassandraComponent> 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-castor-starter/src/main/java/org/apache/camel/dataformat/castor/springboot/CastorDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-castor-starter/src/main/java/org/apache/camel/dataformat/castor/springboot/CastorDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-castor-starter/src/main/java/org/apache/camel/dataformat/castor/springboot/CastorDataFormatAutoConfiguration.java
index a103829..66a8cd3 100644
--- a/platforms/spring-boot/components-starter/camel-castor-starter/src/main/java/org/apache/camel/dataformat/castor/springboot/CastorDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-castor-starter/src/main/java/org/apache/camel/dataformat/castor/springboot/CastorDataFormatAutoConfiguration.java
@@ -112,15 +112,15 @@ public class CastorDataFormatAutoConfiguration 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<CastorDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<CastorDataFormat> 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-chronicle-starter/src/main/java/org/apache/camel/component/chronicle/engine/springboot/ChronicleEngineComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-chronicle-starter/src/main/java/org/apache/camel/component/chronicle/engine/springboot/ChronicleEngineComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-chronicle-starter/src/main/java/org/apache/camel/component/chronicle/engine/springboot/ChronicleEngineComponentAutoConfiguration.java
index 68cfb04..45037da 100644
--- a/platforms/spring-boot/components-starter/camel-chronicle-starter/src/main/java/org/apache/camel/component/chronicle/engine/springboot/ChronicleEngineComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-chronicle-starter/src/main/java/org/apache/camel/component/chronicle/engine/springboot/ChronicleEngineComponentAutoConfiguration.java
@@ -117,14 +117,14 @@ public class ChronicleEngineComponentAutoConfiguration
}
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<ChronicleEngineComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<ChronicleEngineComponent> 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-chunk-starter/src/main/java/org/apache/camel/component/chunk/springboot/ChunkComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-chunk-starter/src/main/java/org/apache/camel/component/chunk/springboot/ChunkComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-chunk-starter/src/main/java/org/apache/camel/component/chunk/springboot/ChunkComponentAutoConfiguration.java
index 3543081..ee6a5bd 100644
--- a/platforms/spring-boot/components-starter/camel-chunk-starter/src/main/java/org/apache/camel/component/chunk/springboot/ChunkComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-chunk-starter/src/main/java/org/apache/camel/component/chunk/springboot/ChunkComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class ChunkComponentAutoConfiguration 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<ChunkComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<ChunkComponent> 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-cm-sms-starter/src/main/java/org/apache/camel/component/cm/springboot/CMComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-cm-sms-starter/src/main/java/org/apache/camel/component/cm/springboot/CMComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-cm-sms-starter/src/main/java/org/apache/camel/component/cm/springboot/CMComponentAutoConfiguration.java
index 2a3153e..3052f3e 100644
--- a/platforms/spring-boot/components-starter/camel-cm-sms-starter/src/main/java/org/apache/camel/component/cm/springboot/CMComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-cm-sms-starter/src/main/java/org/apache/camel/component/cm/springboot/CMComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class CMComponentAutoConfiguration 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<CMComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<CMComponent> 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-cmis-starter/src/main/java/org/apache/camel/component/cmis/springboot/CMISComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-cmis-starter/src/main/java/org/apache/camel/component/cmis/springboot/CMISComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-cmis-starter/src/main/java/org/apache/camel/component/cmis/springboot/CMISComponentAutoConfiguration.java
index 5fbd899..119364d 100644
--- a/platforms/spring-boot/components-starter/camel-cmis-starter/src/main/java/org/apache/camel/component/cmis/springboot/CMISComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-cmis-starter/src/main/java/org/apache/camel/component/cmis/springboot/CMISComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class CMISComponentAutoConfiguration 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<CMISComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<CMISComponent> 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-coap-starter/src/main/java/org/apache/camel/coap/springboot/CoAPComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-coap-starter/src/main/java/org/apache/camel/coap/springboot/CoAPComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-coap-starter/src/main/java/org/apache/camel/coap/springboot/CoAPComponentAutoConfiguration.java
index 74d5df2..6612bb4 100644
--- a/platforms/spring-boot/components-starter/camel-coap-starter/src/main/java/org/apache/camel/coap/springboot/CoAPComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-coap-starter/src/main/java/org/apache/camel/coap/springboot/CoAPComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class CoAPComponentAutoConfiguration 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<CoAPComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<CoAPComponent> 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-cometd-starter/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-cometd-starter/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-cometd-starter/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentAutoConfiguration.java
index fa85e4f..12a1b93 100644
--- a/platforms/spring-boot/components-starter/camel-cometd-starter/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-cometd-starter/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class CometdComponentAutoConfiguration 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<CometdComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<CometdComponent> 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-consul-starter/src/main/java/org/apache/camel/component/consul/springboot/ConsulComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-consul-starter/src/main/java/org/apache/camel/component/consul/springboot/ConsulComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-consul-starter/src/main/java/org/apache/camel/component/consul/springboot/ConsulComponentAutoConfiguration.java
index 44330be..6d09737 100644
--- a/platforms/spring-boot/components-starter/camel-consul-starter/src/main/java/org/apache/camel/component/consul/springboot/ConsulComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-consul-starter/src/main/java/org/apache/camel/component/consul/springboot/ConsulComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class ConsulComponentAutoConfiguration 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<ConsulComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<ConsulComponent> 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-context-starter/src/main/java/org/apache/camel/component/context/springboot/QualifiedContextComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-context-starter/src/main/java/org/apache/camel/component/context/springboot/QualifiedContextComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-context-starter/src/main/java/org/apache/camel/component/context/springboot/QualifiedContextComponentAutoConfiguration.java
index e5d38cb..8092fa3 100644
--- a/platforms/spring-boot/components-starter/camel-context-starter/src/main/java/org/apache/camel/component/context/springboot/QualifiedContextComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-context-starter/src/main/java/org/apache/camel/component/context/springboot/QualifiedContextComponentAutoConfiguration.java
@@ -117,14 +117,14 @@ public class QualifiedContextComponentAutoConfiguration
}
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<QualifiedContextComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<QualifiedContextComponent> 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/bean/springboot/BeanComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/bean/springboot/BeanComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/bean/springboot/BeanComponentAutoConfiguration.java
index dcb8b49..9790e69 100644
--- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/bean/springboot/BeanComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/bean/springboot/BeanComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class BeanComponentAutoConfiguration 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<BeanComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<BeanComponent> 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/beanclass/springboot/ClassComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/beanclass/springboot/ClassComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/beanclass/springboot/ClassComponentAutoConfiguration.java
index cb3a1e9..9ffcbbd 100644
--- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/beanclass/springboot/ClassComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/beanclass/springboot/ClassComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class ClassComponentAutoConfiguration 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<ClassComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<ClassComponent> 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/binding/springboot/BindingNameComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/binding/springboot/BindingNameComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/binding/springboot/BindingNameComponentAutoConfiguration.java
index 7b71671..0703091 100644
--- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/binding/springboot/BindingNameComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/binding/springboot/BindingNameComponentAutoConfiguration.java
@@ -115,14 +115,14 @@ public class BindingNameComponentAutoConfiguration 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<BindingNameComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<BindingNameComponent> 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/browse/springboot/BrowseComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/browse/springboot/BrowseComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/browse/springboot/BrowseComponentAutoConfiguration.java
index 7dfed21..b1592f05 100644
--- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/browse/springboot/BrowseComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/browse/springboot/BrowseComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class BrowseComponentAutoConfiguration 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<BrowseComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<BrowseComponent> 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/controlbus/springboot/ControlBusComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/controlbus/springboot/ControlBusComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/controlbus/springboot/ControlBusComponentAutoConfiguration.java
index e93a8b2..fbf33d7 100644
--- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/controlbus/springboot/ControlBusComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/controlbus/springboot/ControlBusComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class ControlBusComponentAutoConfiguration 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<ControlBusComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<ControlBusComponent> 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/dataformat/springboot/DataFormatComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/dataformat/springboot/DataFormatComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/dataformat/springboot/DataFormatComponentAutoConfiguration.java
index 2ea3ba5..26c0853 100644
--- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/dataformat/springboot/DataFormatComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/dataformat/springboot/DataFormatComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class DataFormatComponentAutoConfiguration 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<DataFormatComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<DataFormatComponent> 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/dataset/springboot/DataSetComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/dataset/springboot/DataSetComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/dataset/springboot/DataSetComponentAutoConfiguration.java
index 6f6cf85..b2c9f92 100644
--- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/dataset/springboot/DataSetComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/dataset/springboot/DataSetComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class DataSetComponentAutoConfiguration 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<DataSetComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<DataSetComponent> 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/direct/springboot/DirectComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/direct/springboot/DirectComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/direct/springboot/DirectComponentAutoConfiguration.java
index adc9807..d7d3312 100644
--- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/direct/springboot/DirectComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/direct/springboot/DirectComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class DirectComponentAutoConfiguration 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<DirectComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<DirectComponent> 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/directvm/springboot/DirectVmComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/directvm/springboot/DirectVmComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/directvm/springboot/DirectVmComponentAutoConfiguration.java
index 4de4ab2..070c0af 100644
--- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/directvm/springboot/DirectVmComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/directvm/springboot/DirectVmComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class DirectVmComponentAutoConfiguration 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<DirectVmComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<DirectVmComponent> 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/file/springboot/FileComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/file/springboot/FileComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/file/springboot/FileComponentAutoConfiguration.java
index 36b8773..735dd57 100644
--- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/file/springboot/FileComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/file/springboot/FileComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class FileComponentAutoConfiguration 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<FileComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<FileComponent> 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/language/springboot/LanguageComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/language/springboot/LanguageComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/language/springboot/LanguageComponentAutoConfiguration.java
index 4eb3d4f..c3b0ae3 100644
--- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/language/springboot/LanguageComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/language/springboot/LanguageComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class LanguageComponentAutoConfiguration 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<LanguageComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<LanguageComponent> 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/log/springboot/LogComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/log/springboot/LogComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/log/springboot/LogComponentAutoConfiguration.java
index 5809e6c..a9e15ff 100644
--- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/log/springboot/LogComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/log/springboot/LogComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class LogComponentAutoConfiguration 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<LogComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<LogComponent> 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/mock/springboot/MockComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/mock/springboot/MockComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/mock/springboot/MockComponentAutoConfiguration.java
index 88ad8c6..114dfb6 100644
--- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/mock/springboot/MockComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/mock/springboot/MockComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class MockComponentAutoConfiguration 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<MockComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<MockComponent> 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/properties/springboot/PropertiesComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/properties/springboot/PropertiesComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/properties/springboot/PropertiesComponentAutoConfiguration.java
index 2a969df..11d8b9f 100644
--- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/properties/springboot/PropertiesComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/properties/springboot/PropertiesComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class PropertiesComponentAutoConfiguration 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<PropertiesComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<PropertiesComponent> 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/ref/springboot/RefComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/ref/springboot/RefComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/ref/springboot/RefComponentAutoConfiguration.java
index 4c07341..4add425 100644
--- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/ref/springboot/RefComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/ref/springboot/RefComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class RefComponentAutoConfiguration 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<RefComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<RefComponent> 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/rest/springboot/RestApiComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/rest/springboot/RestApiComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/rest/springboot/RestApiComponentAutoConfiguration.java
index 825c084..3bca3a1 100644
--- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/rest/springboot/RestApiComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/rest/springboot/RestApiComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class RestApiComponentAutoConfiguration 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<RestApiComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<RestApiComponent> 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/rest/springboot/RestComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/rest/springboot/RestComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/rest/springboot/RestComponentAutoConfiguration.java
index cf34cc5..a5ebe6b 100644
--- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/rest/springboot/RestComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/rest/springboot/RestComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class RestComponentAutoConfiguration 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<RestComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<RestComponent> 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/scheduler/springboot/SchedulerComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/scheduler/springboot/SchedulerComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/scheduler/springboot/SchedulerComponentAutoConfiguration.java
index cb2fe1b..afa0d60 100644
--- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/scheduler/springboot/SchedulerComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/scheduler/springboot/SchedulerComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class SchedulerComponentAutoConfiguration 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<SchedulerComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<SchedulerComponent> 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/seda/springboot/SedaComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/seda/springboot/SedaComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/seda/springboot/SedaComponentAutoConfiguration.java
index 3a50dcf..d42699f 100644
--- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/seda/springboot/SedaComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/seda/springboot/SedaComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class SedaComponentAutoConfiguration 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<SedaComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<SedaComponent> 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/stub/springboot/StubComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/stub/springboot/StubComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/stub/springboot/StubComponentAutoConfiguration.java
index eee0089..6d4e1b0 100644
--- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/stub/springboot/StubComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/stub/springboot/StubComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class StubComponentAutoConfiguration 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<StubComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<StubComponent> 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/test/springboot/TestComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/test/springboot/TestComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/test/springboot/TestComponentAutoConfiguration.java
index 1845cce..b9664a3 100644
--- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/test/springboot/TestComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/test/springboot/TestComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class TestComponentAutoConfiguration 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<TestComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<TestComponent> customizer : customizers) {
+ LOGGER.debug("Configure component {}, with customizer {}",
+ component, customizer);
+ customizer.customize(component);
}
}
return component;
[07/11] camel git commit: Fix wrong name for customizers
Posted by lb...@apache.org.
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;
[09/11] camel git commit: Fix wrong name for customizers
Posted by lb...@apache.org.
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;
[03/11] camel git commit: Fix wrong name for customizers
Posted by lb...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-xmpp-starter/src/main/java/org/apache/camel/component/xmpp/springboot/XmppComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-xmpp-starter/src/main/java/org/apache/camel/component/xmpp/springboot/XmppComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-xmpp-starter/src/main/java/org/apache/camel/component/xmpp/springboot/XmppComponentAutoConfiguration.java
index 82eda07..d3a9565 100644
--- a/platforms/spring-boot/components-starter/camel-xmpp-starter/src/main/java/org/apache/camel/component/xmpp/springboot/XmppComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-xmpp-starter/src/main/java/org/apache/camel/component/xmpp/springboot/XmppComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class XmppComponentAutoConfiguration 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<XmppComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<XmppComponent> 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-xstream-starter/src/main/java/org/apache/camel/dataformat/xstream/springboot/JsonDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-xstream-starter/src/main/java/org/apache/camel/dataformat/xstream/springboot/JsonDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-xstream-starter/src/main/java/org/apache/camel/dataformat/xstream/springboot/JsonDataFormatAutoConfiguration.java
index 8631de2..c6e1ff8 100644
--- a/platforms/spring-boot/components-starter/camel-xstream-starter/src/main/java/org/apache/camel/dataformat/xstream/springboot/JsonDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-xstream-starter/src/main/java/org/apache/camel/dataformat/xstream/springboot/JsonDataFormatAutoConfiguration.java
@@ -111,15 +111,15 @@ public class JsonDataFormatAutoConfiguration 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<JsonDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<JsonDataFormat> 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-xstream-starter/src/main/java/org/apache/camel/dataformat/xstream/springboot/XStreamDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-xstream-starter/src/main/java/org/apache/camel/dataformat/xstream/springboot/XStreamDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-xstream-starter/src/main/java/org/apache/camel/dataformat/xstream/springboot/XStreamDataFormatAutoConfiguration.java
index 2561ef6..964be81 100644
--- a/platforms/spring-boot/components-starter/camel-xstream-starter/src/main/java/org/apache/camel/dataformat/xstream/springboot/XStreamDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-xstream-starter/src/main/java/org/apache/camel/dataformat/xstream/springboot/XStreamDataFormatAutoConfiguration.java
@@ -112,15 +112,15 @@ public class XStreamDataFormatAutoConfiguration 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<XStreamDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<XStreamDataFormat> 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-yammer-starter/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-yammer-starter/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-yammer-starter/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentAutoConfiguration.java
index 0d772ab..f78a72b 100644
--- a/platforms/spring-boot/components-starter/camel-yammer-starter/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-yammer-starter/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class YammerComponentAutoConfiguration 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<YammerComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<YammerComponent> 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-zendesk-starter/src/main/java/org/apache/camel/component/zendesk/springboot/ZendeskComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-zendesk-starter/src/main/java/org/apache/camel/component/zendesk/springboot/ZendeskComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-zendesk-starter/src/main/java/org/apache/camel/component/zendesk/springboot/ZendeskComponentAutoConfiguration.java
index 935817a..058929b 100644
--- a/platforms/spring-boot/components-starter/camel-zendesk-starter/src/main/java/org/apache/camel/component/zendesk/springboot/ZendeskComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-zendesk-starter/src/main/java/org/apache/camel/component/zendesk/springboot/ZendeskComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class ZendeskComponentAutoConfiguration 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<ZendeskComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<ZendeskComponent> 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-zipfile-starter/src/main/java/org/apache/camel/dataformat/zipfile/springboot/ZipFileDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-zipfile-starter/src/main/java/org/apache/camel/dataformat/zipfile/springboot/ZipFileDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-zipfile-starter/src/main/java/org/apache/camel/dataformat/zipfile/springboot/ZipFileDataFormatAutoConfiguration.java
index 690252a..332329a 100644
--- a/platforms/spring-boot/components-starter/camel-zipfile-starter/src/main/java/org/apache/camel/dataformat/zipfile/springboot/ZipFileDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-zipfile-starter/src/main/java/org/apache/camel/dataformat/zipfile/springboot/ZipFileDataFormatAutoConfiguration.java
@@ -112,15 +112,15 @@ public class ZipFileDataFormatAutoConfiguration 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<ZipFileDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<ZipFileDataFormat> 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-zookeeper-master-starter/src/main/java/org/apache/camel/component/zookeepermaster/springboot/MasterComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-zookeeper-master-starter/src/main/java/org/apache/camel/component/zookeepermaster/springboot/MasterComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-zookeeper-master-starter/src/main/java/org/apache/camel/component/zookeepermaster/springboot/MasterComponentAutoConfiguration.java
index d3e739c..43bf86a 100644
--- a/platforms/spring-boot/components-starter/camel-zookeeper-master-starter/src/main/java/org/apache/camel/component/zookeepermaster/springboot/MasterComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-zookeeper-master-starter/src/main/java/org/apache/camel/component/zookeepermaster/springboot/MasterComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class MasterComponentAutoConfiguration 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<MasterComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<MasterComponent> 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-zookeeper-starter/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-zookeeper-starter/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-zookeeper-starter/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentAutoConfiguration.java
index 399dc76..fe431dd 100644
--- a/platforms/spring-boot/components-starter/camel-zookeeper-starter/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-zookeeper-starter/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class ZooKeeperComponentAutoConfiguration 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<ZooKeeperComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<ZooKeeperComponent> customizer : customizers) {
+ LOGGER.debug("Configure component {}, with customizer {}",
+ component, customizer);
+ customizer.customize(component);
}
}
return component;
[02/11] camel git commit: CAMEL-11297: camel-ehcache-starter : auto
discovery cache manager.
Posted by lb...@apache.org.
CAMEL-11297: camel-ehcache-starter : auto discovery cache manager.
Allow to configure if a cache manager eventually already configured on
the component should be overridden or not by the CacheManagerCustomizer.
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/24d9de04
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/24d9de04
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/24d9de04
Branch: refs/heads/master
Commit: 24d9de0422485ddce6a08b71e1fe236cd04d3b55
Parents: 77640af
Author: lburgazzoli <lb...@gmail.com>
Authored: Fri May 19 15:26:23 2017 +0200
Committer: lburgazzoli <lb...@gmail.com>
Committed: Fri May 19 16:39:20 2017 +0200
----------------------------------------------------------------------
.../EhcacheComponentAutoConfiguration.java | 12 +--
.../customizer/CacheManagerCustomizer.java | 23 +++++-
.../CacheManagerCustomizerConfiguration.java | 49 +++++++++++
...heManagerConfigurerNotEnabledGlobalTest.java | 37 ---------
...agerConfigurerNotEnabledOnComponentTest.java | 37 ---------
.../CacheManagerConfigurerNotEnabledTest.java | 37 ---------
...acheManagerConfigurerNotEnabledTestBase.java | 48 -----------
.../springboot/CacheManagerConfigurerTest.java | 63 --------------
.../CacheManagerCustomizerNoOverrideTest.java | 87 ++++++++++++++++++++
...heManagerCustomizerNotEnabledGlobalTest.java | 37 +++++++++
...agerCustomizerNotEnabledOnComponentTest.java | 37 +++++++++
.../CacheManagerCustomizerNotEnabledTest.java | 37 +++++++++
...acheManagerCustomizerNotEnabledTestBase.java | 48 +++++++++++
.../CacheManagerCustomizerOverrideTest.java | 87 ++++++++++++++++++++
.../springboot/CacheManagerCustomizerTest.java | 63 ++++++++++++++
.../src/test/resources/application.properties | 2 +-
16 files changed, 472 insertions(+), 232 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/24d9de04/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 3412c67..79466cc 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,14 +114,14 @@ public class EhcacheComponentAutoConfiguration extends AllNestedConditions {
}
IntrospectionSupport.setProperties(camelContext,
camelContext.getTypeConverter(), component, parameters);
- boolean useConfigurers = globalConfiguration.getConfigurer()
+ boolean useConfigurers = globalConfiguration.getCustomizer()
.isEnabled()
- && componentConfiguration.getConfigurer().isEnabled();
+ && componentConfiguration.getCustomizer().isEnabled();
if (useConfigurers && ObjectHelper.isNotEmpty(customizers)) {
- for (ComponentCustomizer<EhcacheComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ for (ComponentCustomizer<EhcacheComponent> 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/24d9de04/platforms/spring-boot/components-starter/camel-ehcache-starter/src/main/java/org/apache/camel/component/ehcache/springboot/customizer/CacheManagerCustomizer.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-ehcache-starter/src/main/java/org/apache/camel/component/ehcache/springboot/customizer/CacheManagerCustomizer.java b/platforms/spring-boot/components-starter/camel-ehcache-starter/src/main/java/org/apache/camel/component/ehcache/springboot/customizer/CacheManagerCustomizer.java
index f3a8e59..4942169 100644
--- a/platforms/spring-boot/components-starter/camel-ehcache-starter/src/main/java/org/apache/camel/component/ehcache/springboot/customizer/CacheManagerCustomizer.java
+++ b/platforms/spring-boot/components-starter/camel-ehcache-starter/src/main/java/org/apache/camel/component/ehcache/springboot/customizer/CacheManagerCustomizer.java
@@ -27,6 +27,7 @@ import org.springframework.boot.autoconfigure.AutoConfigureBefore;
import org.springframework.boot.autoconfigure.condition.AllNestedConditions;
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;
@@ -36,16 +37,28 @@ import org.springframework.core.annotation.Order;
* {@link CacheManager} instance and bind it to the {@link EhcacheComponent}
* component.
*
- * This configurer can be disabled either by disable all the
+ * This customizer can be disabled/enabled with different strategies:
+ *
+ * 1. globally using:
+ * camel.component.customizer.enable = true/false
+ *
+ * 2. for component:
+ * camel.component.ehcache.customizer.enabled = true/false
+ *
+ * 3. individually:
+ * camel.component.ehcache.customizer.cache-manager.enabled = true/false
*/
@Order(Ordered.LOWEST_PRECEDENCE)
@Configuration
-@ConditionalOnProperty(name = "camel.component.ehcache.configurer.cache-manager.enabled", matchIfMissing = true)
+@ConditionalOnProperty(name = "camel.component.ehcache.customizer.cache-manager.enabled", matchIfMissing = true)
@AutoConfigureAfter(CamelAutoConfiguration.class)
@AutoConfigureBefore(EhcacheComponentAutoConfiguration.class)
+@EnableConfigurationProperties(CacheManagerCustomizerConfiguration.class)
public class CacheManagerCustomizer extends AllNestedConditions implements ComponentCustomizer<EhcacheComponent> {
@Autowired
private CacheManager cacheManager;
+ @Autowired
+ private CacheManagerCustomizerConfiguration configuration;
public CacheManagerCustomizer() {
super(ConfigurationPhase.REGISTER_BEAN);
@@ -53,7 +66,11 @@ public class CacheManagerCustomizer extends AllNestedConditions implements Compo
@Override
public void customize(EhcacheComponent component) {
- component.setCacheManager(cacheManager);
+ // Set the cache manager only if the customizer is configured to always
+ // set it or if no cache manager is already configured on component
+ if (configuration.isOverride() || component.getCacheManager() == null) {
+ component.setCacheManager(cacheManager);
+ }
}
// *************************************************************************
http://git-wip-us.apache.org/repos/asf/camel/blob/24d9de04/platforms/spring-boot/components-starter/camel-ehcache-starter/src/main/java/org/apache/camel/component/ehcache/springboot/customizer/CacheManagerCustomizerConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-ehcache-starter/src/main/java/org/apache/camel/component/ehcache/springboot/customizer/CacheManagerCustomizerConfiguration.java b/platforms/spring-boot/components-starter/camel-ehcache-starter/src/main/java/org/apache/camel/component/ehcache/springboot/customizer/CacheManagerCustomizerConfiguration.java
new file mode 100644
index 0000000..8db3850
--- /dev/null
+++ b/platforms/spring-boot/components-starter/camel-ehcache-starter/src/main/java/org/apache/camel/component/ehcache/springboot/customizer/CacheManagerCustomizerConfiguration.java
@@ -0,0 +1,49 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.ehcache.springboot.customizer;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+
+@ConfigurationProperties(prefix = "camel.component.ehcache.customizer.cache-manager")
+public class CacheManagerCustomizerConfiguration {
+ /**
+ * Enable or disable the cache-manager customizer.
+ */
+ private boolean enabled = true;
+
+ /**
+ * Configure if the cache manager eventually set on the component should be overridden by the customizer.
+ */
+ private boolean override;
+
+
+ public boolean isEnabled() {
+ return enabled;
+ }
+
+ public void setEnabled(boolean enabled) {
+ this.enabled = enabled;
+ }
+
+ public boolean isOverride() {
+ return override;
+ }
+
+ public void setOverride(boolean override) {
+ this.override = override;
+ }
+}
http://git-wip-us.apache.org/repos/asf/camel/blob/24d9de04/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerConfigurerNotEnabledGlobalTest.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerConfigurerNotEnabledGlobalTest.java b/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerConfigurerNotEnabledGlobalTest.java
deleted file mode 100644
index 303ba06..0000000
--- a/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerConfigurerNotEnabledGlobalTest.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.ehcache.springboot;
-
-import org.junit.runner.RunWith;
-import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.boot.test.context.SpringBootTest;
-import org.springframework.test.annotation.DirtiesContext;
-import org.springframework.test.context.junit4.SpringRunner;
-
-@RunWith(SpringRunner.class)
-@DirtiesContext
-@SpringBootApplication
-@SpringBootTest(
- classes = {
- CacheManagerConfigurerNotEnabledTestBase.TestConfiguration.class
- },
- properties = {
- "debug=false",
- "camel.component.configurer.enabled=false"
- })
-public class CacheManagerConfigurerNotEnabledGlobalTest extends CacheManagerConfigurerNotEnabledTestBase {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/24d9de04/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerConfigurerNotEnabledOnComponentTest.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerConfigurerNotEnabledOnComponentTest.java b/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerConfigurerNotEnabledOnComponentTest.java
deleted file mode 100644
index 444d76b..0000000
--- a/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerConfigurerNotEnabledOnComponentTest.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.ehcache.springboot;
-
-import org.junit.runner.RunWith;
-import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.boot.test.context.SpringBootTest;
-import org.springframework.test.annotation.DirtiesContext;
-import org.springframework.test.context.junit4.SpringRunner;
-
-@RunWith(SpringRunner.class)
-@DirtiesContext
-@SpringBootApplication
-@SpringBootTest(
- classes = {
- CacheManagerConfigurerNotEnabledTestBase.TestConfiguration.class
- },
- properties = {
- "debug=false",
- "camel.component.ehcache.configurer.enabled=false"
- })
-public class CacheManagerConfigurerNotEnabledOnComponentTest extends CacheManagerConfigurerNotEnabledTestBase {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/24d9de04/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerConfigurerNotEnabledTest.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerConfigurerNotEnabledTest.java b/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerConfigurerNotEnabledTest.java
deleted file mode 100644
index e43a635..0000000
--- a/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerConfigurerNotEnabledTest.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.ehcache.springboot;
-
-import org.junit.runner.RunWith;
-import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.boot.test.context.SpringBootTest;
-import org.springframework.test.annotation.DirtiesContext;
-import org.springframework.test.context.junit4.SpringRunner;
-
-@RunWith(SpringRunner.class)
-@DirtiesContext
-@SpringBootApplication
-@SpringBootTest(
- classes = {
- CacheManagerConfigurerNotEnabledTestBase.TestConfiguration.class
- },
- properties = {
- "debug=false",
- "camel.component.ehcache.configurer.cache-manager.enabled=false"
- })
-public class CacheManagerConfigurerNotEnabledTest extends CacheManagerConfigurerNotEnabledTestBase {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/24d9de04/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerConfigurerNotEnabledTestBase.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerConfigurerNotEnabledTestBase.java b/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerConfigurerNotEnabledTestBase.java
deleted file mode 100644
index fb65b4b..0000000
--- a/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerConfigurerNotEnabledTestBase.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.ehcache.springboot;
-
-import org.apache.camel.component.ehcache.EhcacheComponent;
-import org.ehcache.CacheManager;
-import org.ehcache.config.builders.CacheManagerBuilder;
-import org.junit.Assert;
-import org.junit.Test;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-
-class CacheManagerConfigurerNotEnabledTestBase {
- @Autowired
- CacheManager cacheManager;
- @Autowired
- EhcacheComponent component;
-
- @Test
- public void testComponentConfiguration() throws Exception {
- Assert.assertNotNull(cacheManager);
- Assert.assertNotNull(component);
- Assert.assertNull(component.getCacheManager());
- }
-
- @Configuration
- public static class TestConfiguration {
- @Bean(initMethod = "init", destroyMethod = "close")
- public CacheManager cacheManager() {
- return CacheManagerBuilder.newCacheManagerBuilder().build();
- }
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/24d9de04/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerConfigurerTest.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerConfigurerTest.java b/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerConfigurerTest.java
deleted file mode 100644
index 3a15d44..0000000
--- a/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerConfigurerTest.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.ehcache.springboot;
-
-import org.apache.camel.component.ehcache.EhcacheComponent;
-import org.ehcache.CacheManager;
-import org.ehcache.config.builders.CacheManagerBuilder;
-import org.junit.Assert;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.boot.test.context.SpringBootTest;
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.test.annotation.DirtiesContext;
-import org.springframework.test.context.junit4.SpringRunner;
-
-@RunWith(SpringRunner.class)
-@DirtiesContext
-@SpringBootApplication
-@SpringBootTest(
- classes = {
- CacheManagerConfigurerTest.TestConfiguration.class
- },
- properties = {
- "debug=false",
- })
-public class CacheManagerConfigurerTest {
- @Autowired
- CacheManager cacheManager;
- @Autowired
- EhcacheComponent component;
-
- @Test
- public void testComponentConfiguration() throws Exception {
- Assert.assertNotNull(cacheManager);
- Assert.assertNotNull(component);
- Assert.assertEquals(cacheManager, component.getCacheManager());
- }
-
- @Configuration
- public static class TestConfiguration {
- @Bean(initMethod = "init", destroyMethod = "close")
- public CacheManager cacheManager() {
- return CacheManagerBuilder.newCacheManagerBuilder().build();
- }
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/24d9de04/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerNoOverrideTest.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerNoOverrideTest.java b/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerNoOverrideTest.java
new file mode 100644
index 0000000..598e6cb
--- /dev/null
+++ b/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerNoOverrideTest.java
@@ -0,0 +1,87 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.ehcache.springboot;
+
+import org.apache.camel.component.ehcache.EhcacheComponent;
+import org.apache.camel.spi.ComponentCustomizer;
+import org.apache.camel.spring.boot.CamelAutoConfiguration;
+import org.ehcache.CacheManager;
+import org.ehcache.config.builders.CacheManagerBuilder;
+import org.junit.Assert;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.boot.autoconfigure.AutoConfigureAfter;
+import org.springframework.boot.autoconfigure.AutoConfigureBefore;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.boot.test.context.SpringBootTest;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.core.Ordered;
+import org.springframework.core.annotation.Order;
+import org.springframework.test.annotation.DirtiesContext;
+import org.springframework.test.context.junit4.SpringRunner;
+
+@RunWith(SpringRunner.class)
+@DirtiesContext
+@SpringBootApplication
+@SpringBootTest(
+ classes = {
+ CacheManagerCustomizerNoOverrideTest.TestConfiguration.class
+ },
+ properties = {
+ "debug=false",
+ "camel.component.ehcache.customizer.cache-manager.enabled=true",
+ "camel.component.ehcache.customizer.cache-manager.override=false"
+ })
+public class CacheManagerCustomizerNoOverrideTest {
+ private static final CacheManager CACHE_MANAGER = CacheManagerBuilder.newCacheManagerBuilder().build();
+ @Autowired
+ CacheManager cacheManager;
+ @Autowired
+ EhcacheComponent component;
+
+ @Test
+ public void testComponentConfiguration() throws Exception {
+ Assert.assertNotNull(cacheManager);
+ Assert.assertNotNull(component);
+ Assert.assertNotNull(component.getCacheManager());
+ Assert.assertEquals(CACHE_MANAGER, component.getCacheManager());
+ }
+
+ @Configuration
+ @AutoConfigureAfter(CamelAutoConfiguration.class)
+ @AutoConfigureBefore(EhcacheComponentAutoConfiguration.class)
+ public static class TestConfiguration {
+
+ @Order(Ordered.HIGHEST_PRECEDENCE)
+ @Bean
+ public ComponentCustomizer<EhcacheComponent> customizer() {
+ return new ComponentCustomizer<EhcacheComponent>() {
+ @Override
+ public void customize(EhcacheComponent component) {
+ component.setCacheManager(CACHE_MANAGER);
+ }
+ };
+ }
+
+ @Bean(initMethod = "init", destroyMethod = "close")
+ public CacheManager cacheManager() {
+ return CacheManagerBuilder.newCacheManagerBuilder().build();
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/24d9de04/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerNotEnabledGlobalTest.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerNotEnabledGlobalTest.java b/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerNotEnabledGlobalTest.java
new file mode 100644
index 0000000..c7bdd9f
--- /dev/null
+++ b/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerNotEnabledGlobalTest.java
@@ -0,0 +1,37 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.ehcache.springboot;
+
+import org.junit.runner.RunWith;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.boot.test.context.SpringBootTest;
+import org.springframework.test.annotation.DirtiesContext;
+import org.springframework.test.context.junit4.SpringRunner;
+
+@RunWith(SpringRunner.class)
+@DirtiesContext
+@SpringBootApplication
+@SpringBootTest(
+ classes = {
+ CacheManagerCustomizerNotEnabledTestBase.TestConfiguration.class
+ },
+ properties = {
+ "debug=false",
+ "camel.component.customizer.enabled=false"
+ })
+public class CacheManagerCustomizerNotEnabledGlobalTest extends CacheManagerCustomizerNotEnabledTestBase {
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/24d9de04/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerNotEnabledOnComponentTest.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerNotEnabledOnComponentTest.java b/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerNotEnabledOnComponentTest.java
new file mode 100644
index 0000000..7a16ddb
--- /dev/null
+++ b/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerNotEnabledOnComponentTest.java
@@ -0,0 +1,37 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.ehcache.springboot;
+
+import org.junit.runner.RunWith;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.boot.test.context.SpringBootTest;
+import org.springframework.test.annotation.DirtiesContext;
+import org.springframework.test.context.junit4.SpringRunner;
+
+@RunWith(SpringRunner.class)
+@DirtiesContext
+@SpringBootApplication
+@SpringBootTest(
+ classes = {
+ CacheManagerCustomizerNotEnabledTestBase.TestConfiguration.class
+ },
+ properties = {
+ "debug=false",
+ "camel.component.ehcache.customizer.enabled=false"
+ })
+public class CacheManagerCustomizerNotEnabledOnComponentTest extends CacheManagerCustomizerNotEnabledTestBase {
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/24d9de04/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerNotEnabledTest.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerNotEnabledTest.java b/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerNotEnabledTest.java
new file mode 100644
index 0000000..76d1791
--- /dev/null
+++ b/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerNotEnabledTest.java
@@ -0,0 +1,37 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.ehcache.springboot;
+
+import org.junit.runner.RunWith;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.boot.test.context.SpringBootTest;
+import org.springframework.test.annotation.DirtiesContext;
+import org.springframework.test.context.junit4.SpringRunner;
+
+@RunWith(SpringRunner.class)
+@DirtiesContext
+@SpringBootApplication
+@SpringBootTest(
+ classes = {
+ CacheManagerCustomizerNotEnabledTestBase.TestConfiguration.class
+ },
+ properties = {
+ "debug=false",
+ "camel.component.ehcache.customizer.cache-manager.enabled=false"
+ })
+public class CacheManagerCustomizerNotEnabledTest extends CacheManagerCustomizerNotEnabledTestBase {
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/24d9de04/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerNotEnabledTestBase.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerNotEnabledTestBase.java b/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerNotEnabledTestBase.java
new file mode 100644
index 0000000..0a4b6a1
--- /dev/null
+++ b/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerNotEnabledTestBase.java
@@ -0,0 +1,48 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.ehcache.springboot;
+
+import org.apache.camel.component.ehcache.EhcacheComponent;
+import org.ehcache.CacheManager;
+import org.ehcache.config.builders.CacheManagerBuilder;
+import org.junit.Assert;
+import org.junit.Test;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+
+class CacheManagerCustomizerNotEnabledTestBase {
+ @Autowired
+ CacheManager cacheManager;
+ @Autowired
+ EhcacheComponent component;
+
+ @Test
+ public void testComponentConfiguration() throws Exception {
+ Assert.assertNotNull(cacheManager);
+ Assert.assertNotNull(component);
+ Assert.assertNull(component.getCacheManager());
+ }
+
+ @Configuration
+ public static class TestConfiguration {
+ @Bean(initMethod = "init", destroyMethod = "close")
+ public CacheManager cacheManager() {
+ return CacheManagerBuilder.newCacheManagerBuilder().build();
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/24d9de04/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerOverrideTest.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerOverrideTest.java b/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerOverrideTest.java
new file mode 100644
index 0000000..086bab5
--- /dev/null
+++ b/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerOverrideTest.java
@@ -0,0 +1,87 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.ehcache.springboot;
+
+import org.apache.camel.component.ehcache.EhcacheComponent;
+import org.apache.camel.spi.ComponentCustomizer;
+import org.apache.camel.spring.boot.CamelAutoConfiguration;
+import org.ehcache.CacheManager;
+import org.ehcache.config.builders.CacheManagerBuilder;
+import org.junit.Assert;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.boot.autoconfigure.AutoConfigureAfter;
+import org.springframework.boot.autoconfigure.AutoConfigureBefore;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.boot.test.context.SpringBootTest;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.core.Ordered;
+import org.springframework.core.annotation.Order;
+import org.springframework.test.annotation.DirtiesContext;
+import org.springframework.test.context.junit4.SpringRunner;
+
+@RunWith(SpringRunner.class)
+@DirtiesContext
+@SpringBootApplication
+@SpringBootTest(
+ classes = {
+ CacheManagerCustomizerOverrideTest.TestConfiguration.class
+ },
+ properties = {
+ "debug=false",
+ "camel.component.ehcache.customizer.cache-manager.enabled=true",
+ "camel.component.ehcache.customizer.cache-manager.override=true"
+ })
+public class CacheManagerCustomizerOverrideTest {
+ private static final CacheManager CACHE_MANAGER = CacheManagerBuilder.newCacheManagerBuilder().build();
+ @Autowired
+ CacheManager cacheManager;
+ @Autowired
+ EhcacheComponent component;
+
+ @Test
+ public void testComponentConfiguration() throws Exception {
+ Assert.assertNotNull(cacheManager);
+ Assert.assertNotNull(component);
+ Assert.assertNotNull(component.getCacheManager());
+ Assert.assertEquals(cacheManager, component.getCacheManager());
+ }
+
+ @Configuration
+ @AutoConfigureAfter(CamelAutoConfiguration.class)
+ @AutoConfigureBefore(EhcacheComponentAutoConfiguration.class)
+ public static class TestConfiguration {
+
+ @Order(Ordered.HIGHEST_PRECEDENCE)
+ @Bean
+ public ComponentCustomizer<EhcacheComponent> customizer() {
+ return new ComponentCustomizer<EhcacheComponent>() {
+ @Override
+ public void customize(EhcacheComponent component) {
+ component.setCacheManager(CACHE_MANAGER);
+ }
+ };
+ }
+
+ @Bean(initMethod = "init", destroyMethod = "close")
+ public CacheManager cacheManager() {
+ return CacheManagerBuilder.newCacheManagerBuilder().build();
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/24d9de04/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerTest.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerTest.java b/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerTest.java
new file mode 100644
index 0000000..6a74037
--- /dev/null
+++ b/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/java/org/apache/camel/component/ehcache/springboot/CacheManagerCustomizerTest.java
@@ -0,0 +1,63 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.ehcache.springboot;
+
+import org.apache.camel.component.ehcache.EhcacheComponent;
+import org.ehcache.CacheManager;
+import org.ehcache.config.builders.CacheManagerBuilder;
+import org.junit.Assert;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.boot.test.context.SpringBootTest;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.test.annotation.DirtiesContext;
+import org.springframework.test.context.junit4.SpringRunner;
+
+@RunWith(SpringRunner.class)
+@DirtiesContext
+@SpringBootApplication
+@SpringBootTest(
+ classes = {
+ CacheManagerCustomizerTest.TestConfiguration.class
+ },
+ properties = {
+ "debug=false",
+ })
+public class CacheManagerCustomizerTest {
+ @Autowired
+ CacheManager cacheManager;
+ @Autowired
+ EhcacheComponent component;
+
+ @Test
+ public void testComponentConfiguration() throws Exception {
+ Assert.assertNotNull(cacheManager);
+ Assert.assertNotNull(component);
+ Assert.assertEquals(cacheManager, component.getCacheManager());
+ }
+
+ @Configuration
+ public static class TestConfiguration {
+ @Bean(initMethod = "init", destroyMethod = "close")
+ public CacheManager cacheManager() {
+ return CacheManagerBuilder.newCacheManagerBuilder().build();
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/24d9de04/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/resources/application.properties
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/resources/application.properties b/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/resources/application.properties
index 33406d2..3a5de5b 100644
--- a/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/resources/application.properties
+++ b/platforms/spring-boot/components-starter/camel-ehcache-starter/src/test/resources/application.properties
@@ -1 +1 @@
-spring.main.banner-mode=off
+spring.main.banner-mode = off
[06/11] camel git commit: Fix wrong name for customizers
Posted by lb...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-jxpath-starter/src/main/java/org/apache/camel/language/jxpath/springboot/JXPathLanguageAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-jxpath-starter/src/main/java/org/apache/camel/language/jxpath/springboot/JXPathLanguageAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-jxpath-starter/src/main/java/org/apache/camel/language/jxpath/springboot/JXPathLanguageAutoConfiguration.java
index bcfbc5e..97de43a 100644
--- a/platforms/spring-boot/components-starter/camel-jxpath-starter/src/main/java/org/apache/camel/language/jxpath/springboot/JXPathLanguageAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-jxpath-starter/src/main/java/org/apache/camel/language/jxpath/springboot/JXPathLanguageAutoConfiguration.java
@@ -102,14 +102,14 @@ public class JXPathLanguageAutoConfiguration 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<JXPathLanguage> configurer : customizers) {
- LOGGER.debug("Configure language {}, with configurer {}",
- language, configurer);
- configurer.customize(language);
+ && languageConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (LanguageCustomizer<JXPathLanguage> 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-kafka-starter/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-kafka-starter/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-kafka-starter/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentAutoConfiguration.java
index 1a0298e..6e09742 100644
--- a/platforms/spring-boot/components-starter/camel-kafka-starter/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-kafka-starter/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class KafkaComponentAutoConfiguration 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<KafkaComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<KafkaComponent> 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-kestrel-starter/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-kestrel-starter/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-kestrel-starter/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentAutoConfiguration.java
index 564c9f9..a591369 100644
--- a/platforms/spring-boot/components-starter/camel-kestrel-starter/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-kestrel-starter/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class KestrelComponentAutoConfiguration 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<KestrelComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<KestrelComponent> 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-krati-starter/src/main/java/org/apache/camel/component/krati/springboot/KratiComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-krati-starter/src/main/java/org/apache/camel/component/krati/springboot/KratiComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-krati-starter/src/main/java/org/apache/camel/component/krati/springboot/KratiComponentAutoConfiguration.java
index 272209e..b394541 100644
--- a/platforms/spring-boot/components-starter/camel-krati-starter/src/main/java/org/apache/camel/component/krati/springboot/KratiComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-krati-starter/src/main/java/org/apache/camel/component/krati/springboot/KratiComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class KratiComponentAutoConfiguration 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<KratiComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<KratiComponent> 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-kubernetes-starter/src/main/java/org/apache/camel/component/kubernetes/springboot/KubernetesComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-kubernetes-starter/src/main/java/org/apache/camel/component/kubernetes/springboot/KubernetesComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-kubernetes-starter/src/main/java/org/apache/camel/component/kubernetes/springboot/KubernetesComponentAutoConfiguration.java
index ef01fbf..7e79bc3 100644
--- a/platforms/spring-boot/components-starter/camel-kubernetes-starter/src/main/java/org/apache/camel/component/kubernetes/springboot/KubernetesComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-kubernetes-starter/src/main/java/org/apache/camel/component/kubernetes/springboot/KubernetesComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class KubernetesComponentAutoConfiguration 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<KubernetesComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<KubernetesComponent> 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-ldap-starter/src/main/java/org/apache/camel/component/ldap/springboot/LdapComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-ldap-starter/src/main/java/org/apache/camel/component/ldap/springboot/LdapComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-ldap-starter/src/main/java/org/apache/camel/component/ldap/springboot/LdapComponentAutoConfiguration.java
index d6d89b0..f35efc3 100644
--- a/platforms/spring-boot/components-starter/camel-ldap-starter/src/main/java/org/apache/camel/component/ldap/springboot/LdapComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-ldap-starter/src/main/java/org/apache/camel/component/ldap/springboot/LdapComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class LdapComponentAutoConfiguration 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<LdapComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<LdapComponent> 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-linkedin-starter/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-linkedin-starter/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-linkedin-starter/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentAutoConfiguration.java
index e38c06d..4b4e7fc 100644
--- a/platforms/spring-boot/components-starter/camel-linkedin-starter/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-linkedin-starter/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class LinkedInComponentAutoConfiguration 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<LinkedInComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<LinkedInComponent> 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-lucene-starter/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-lucene-starter/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-lucene-starter/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentAutoConfiguration.java
index 0aa37a7..9e8160d 100644
--- a/platforms/spring-boot/components-starter/camel-lucene-starter/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-lucene-starter/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class LuceneComponentAutoConfiguration 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<LuceneComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<LuceneComponent> 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-lumberjack-starter/src/main/java/org/apache/camel/component/lumberjack/springboot/LumberjackComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-lumberjack-starter/src/main/java/org/apache/camel/component/lumberjack/springboot/LumberjackComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-lumberjack-starter/src/main/java/org/apache/camel/component/lumberjack/springboot/LumberjackComponentAutoConfiguration.java
index 7e3833e..5e020cb 100644
--- a/platforms/spring-boot/components-starter/camel-lumberjack-starter/src/main/java/org/apache/camel/component/lumberjack/springboot/LumberjackComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-lumberjack-starter/src/main/java/org/apache/camel/component/lumberjack/springboot/LumberjackComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class LumberjackComponentAutoConfiguration 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<LumberjackComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<LumberjackComponent> 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-lzf-starter/src/main/java/org/apache/camel/dataformat/lzf/springboot/LZFDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-lzf-starter/src/main/java/org/apache/camel/dataformat/lzf/springboot/LZFDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-lzf-starter/src/main/java/org/apache/camel/dataformat/lzf/springboot/LZFDataFormatAutoConfiguration.java
index a026158..0e7b5a9 100644
--- a/platforms/spring-boot/components-starter/camel-lzf-starter/src/main/java/org/apache/camel/dataformat/lzf/springboot/LZFDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-lzf-starter/src/main/java/org/apache/camel/dataformat/lzf/springboot/LZFDataFormatAutoConfiguration.java
@@ -111,15 +111,15 @@ public class LZFDataFormatAutoConfiguration 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<LZFDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<LZFDataFormat> 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-mail-starter/src/main/java/org/apache/camel/component/mail/springboot/MailComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-mail-starter/src/main/java/org/apache/camel/component/mail/springboot/MailComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-mail-starter/src/main/java/org/apache/camel/component/mail/springboot/MailComponentAutoConfiguration.java
index 55043e7..fb413ff 100644
--- a/platforms/spring-boot/components-starter/camel-mail-starter/src/main/java/org/apache/camel/component/mail/springboot/MailComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-mail-starter/src/main/java/org/apache/camel/component/mail/springboot/MailComponentAutoConfiguration.java
@@ -115,14 +115,14 @@ public class MailComponentAutoConfiguration 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<MailComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<MailComponent> 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-mail-starter/src/main/java/org/apache/camel/dataformat/mime/multipart/springboot/MimeMultipartDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-mail-starter/src/main/java/org/apache/camel/dataformat/mime/multipart/springboot/MimeMultipartDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-mail-starter/src/main/java/org/apache/camel/dataformat/mime/multipart/springboot/MimeMultipartDataFormatAutoConfiguration.java
index 6497000..69b5bcd 100644
--- a/platforms/spring-boot/components-starter/camel-mail-starter/src/main/java/org/apache/camel/dataformat/mime/multipart/springboot/MimeMultipartDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-mail-starter/src/main/java/org/apache/camel/dataformat/mime/multipart/springboot/MimeMultipartDataFormatAutoConfiguration.java
@@ -114,15 +114,15 @@ public class MimeMultipartDataFormatAutoConfiguration
} 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<MimeMultipartDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<MimeMultipartDataFormat> 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-metrics-starter/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-metrics-starter/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-metrics-starter/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentAutoConfiguration.java
index 482549f..a684e9f 100644
--- a/platforms/spring-boot/components-starter/camel-metrics-starter/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-metrics-starter/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class MetricsComponentAutoConfiguration 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<MetricsComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<MetricsComponent> 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-milo-starter/src/main/java/org/apache/camel/component/milo/client/springboot/MiloClientComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-milo-starter/src/main/java/org/apache/camel/component/milo/client/springboot/MiloClientComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-milo-starter/src/main/java/org/apache/camel/component/milo/client/springboot/MiloClientComponentAutoConfiguration.java
index d2fc0eb..78f6adb 100644
--- a/platforms/spring-boot/components-starter/camel-milo-starter/src/main/java/org/apache/camel/component/milo/client/springboot/MiloClientComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-milo-starter/src/main/java/org/apache/camel/component/milo/client/springboot/MiloClientComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class MiloClientComponentAutoConfiguration 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<MiloClientComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<MiloClientComponent> 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-milo-starter/src/main/java/org/apache/camel/component/milo/server/springboot/MiloServerComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-milo-starter/src/main/java/org/apache/camel/component/milo/server/springboot/MiloServerComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-milo-starter/src/main/java/org/apache/camel/component/milo/server/springboot/MiloServerComponentAutoConfiguration.java
index 87a74df..0446f61 100644
--- a/platforms/spring-boot/components-starter/camel-milo-starter/src/main/java/org/apache/camel/component/milo/server/springboot/MiloServerComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-milo-starter/src/main/java/org/apache/camel/component/milo/server/springboot/MiloServerComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class MiloServerComponentAutoConfiguration 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<MiloServerComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<MiloServerComponent> 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-mina2-starter/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-mina2-starter/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-mina2-starter/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentAutoConfiguration.java
index 180febf..948f392 100644
--- a/platforms/spring-boot/components-starter/camel-mina2-starter/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-mina2-starter/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class Mina2ComponentAutoConfiguration 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<Mina2Component> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<Mina2Component> 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-mllp-starter/src/main/java/org/apache/camel/component/mllp/springboot/MllpComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-mllp-starter/src/main/java/org/apache/camel/component/mllp/springboot/MllpComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-mllp-starter/src/main/java/org/apache/camel/component/mllp/springboot/MllpComponentAutoConfiguration.java
index 632a8fe..c460170 100644
--- a/platforms/spring-boot/components-starter/camel-mllp-starter/src/main/java/org/apache/camel/component/mllp/springboot/MllpComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-mllp-starter/src/main/java/org/apache/camel/component/mllp/springboot/MllpComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class MllpComponentAutoConfiguration 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<MllpComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<MllpComponent> 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-mongodb-gridfs-starter/src/main/java/org/apache/camel/component/mongodb/gridfs/springboot/GridFsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-mongodb-gridfs-starter/src/main/java/org/apache/camel/component/mongodb/gridfs/springboot/GridFsComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-mongodb-gridfs-starter/src/main/java/org/apache/camel/component/mongodb/gridfs/springboot/GridFsComponentAutoConfiguration.java
index b1bc590..e7d0b31 100644
--- a/platforms/spring-boot/components-starter/camel-mongodb-gridfs-starter/src/main/java/org/apache/camel/component/mongodb/gridfs/springboot/GridFsComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-mongodb-gridfs-starter/src/main/java/org/apache/camel/component/mongodb/gridfs/springboot/GridFsComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class GridFsComponentAutoConfiguration 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<GridFsComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<GridFsComponent> 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-mongodb-starter/src/main/java/org/apache/camel/component/mongodb/springboot/MongoDbComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-mongodb-starter/src/main/java/org/apache/camel/component/mongodb/springboot/MongoDbComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-mongodb-starter/src/main/java/org/apache/camel/component/mongodb/springboot/MongoDbComponentAutoConfiguration.java
index cab569e..3b8ab68 100644
--- a/platforms/spring-boot/components-starter/camel-mongodb-starter/src/main/java/org/apache/camel/component/mongodb/springboot/MongoDbComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-mongodb-starter/src/main/java/org/apache/camel/component/mongodb/springboot/MongoDbComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class MongoDbComponentAutoConfiguration 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<MongoDbComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<MongoDbComponent> 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-mongodb3-starter/src/main/java/org/apache/camel/component/mongodb3/springboot/MongoDbComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-mongodb3-starter/src/main/java/org/apache/camel/component/mongodb3/springboot/MongoDbComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-mongodb3-starter/src/main/java/org/apache/camel/component/mongodb3/springboot/MongoDbComponentAutoConfiguration.java
index 442d8ef..d7e8fea 100644
--- a/platforms/spring-boot/components-starter/camel-mongodb3-starter/src/main/java/org/apache/camel/component/mongodb3/springboot/MongoDbComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-mongodb3-starter/src/main/java/org/apache/camel/component/mongodb3/springboot/MongoDbComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class MongoDbComponentAutoConfiguration 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<MongoDbComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<MongoDbComponent> 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-mqtt-starter/src/main/java/org/apache/camel/component/mqtt/springboot/MQTTComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-mqtt-starter/src/main/java/org/apache/camel/component/mqtt/springboot/MQTTComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-mqtt-starter/src/main/java/org/apache/camel/component/mqtt/springboot/MQTTComponentAutoConfiguration.java
index 6bc65e3..4121a9f 100644
--- a/platforms/spring-boot/components-starter/camel-mqtt-starter/src/main/java/org/apache/camel/component/mqtt/springboot/MQTTComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-mqtt-starter/src/main/java/org/apache/camel/component/mqtt/springboot/MQTTComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class MQTTComponentAutoConfiguration 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<MQTTComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<MQTTComponent> 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-msv-starter/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-msv-starter/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-msv-starter/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentAutoConfiguration.java
index 272b283..af26797 100644
--- a/platforms/spring-boot/components-starter/camel-msv-starter/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-msv-starter/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class MsvComponentAutoConfiguration 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<MsvComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<MsvComponent> 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-mustache-starter/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-mustache-starter/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-mustache-starter/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentAutoConfiguration.java
index a1f513d..df79b0b 100644
--- a/platforms/spring-boot/components-starter/camel-mustache-starter/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-mustache-starter/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class MustacheComponentAutoConfiguration 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<MustacheComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<MustacheComponent> 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-mvel-starter/src/main/java/org/apache/camel/component/mvel/springboot/MvelComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-mvel-starter/src/main/java/org/apache/camel/component/mvel/springboot/MvelComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-mvel-starter/src/main/java/org/apache/camel/component/mvel/springboot/MvelComponentAutoConfiguration.java
index c437e3d..08c1bd2 100644
--- a/platforms/spring-boot/components-starter/camel-mvel-starter/src/main/java/org/apache/camel/component/mvel/springboot/MvelComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-mvel-starter/src/main/java/org/apache/camel/component/mvel/springboot/MvelComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class MvelComponentAutoConfiguration 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<MvelComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<MvelComponent> 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-mvel-starter/src/main/java/org/apache/camel/language/mvel/springboot/MvelLanguageAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-mvel-starter/src/main/java/org/apache/camel/language/mvel/springboot/MvelLanguageAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-mvel-starter/src/main/java/org/apache/camel/language/mvel/springboot/MvelLanguageAutoConfiguration.java
index f1165ef..e43763a 100644
--- a/platforms/spring-boot/components-starter/camel-mvel-starter/src/main/java/org/apache/camel/language/mvel/springboot/MvelLanguageAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-mvel-starter/src/main/java/org/apache/camel/language/mvel/springboot/MvelLanguageAutoConfiguration.java
@@ -102,14 +102,14 @@ public class MvelLanguageAutoConfiguration 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<MvelLanguage> configurer : customizers) {
- LOGGER.debug("Configure language {}, with configurer {}",
- language, configurer);
- configurer.customize(language);
+ && languageConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (LanguageCustomizer<MvelLanguage> 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-mybatis-starter/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-mybatis-starter/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-mybatis-starter/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentAutoConfiguration.java
index bc78599..a01e0bd 100644
--- a/platforms/spring-boot/components-starter/camel-mybatis-starter/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-mybatis-starter/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class MyBatisComponentAutoConfiguration 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<MyBatisComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<MyBatisComponent> 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-nagios-starter/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-nagios-starter/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-nagios-starter/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentAutoConfiguration.java
index 42f03ea..d721689 100644
--- a/platforms/spring-boot/components-starter/camel-nagios-starter/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-nagios-starter/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class NagiosComponentAutoConfiguration 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<NagiosComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<NagiosComponent> 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-nats-starter/src/main/java/org/apache/camel/component/nats/springboot/NatsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-nats-starter/src/main/java/org/apache/camel/component/nats/springboot/NatsComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-nats-starter/src/main/java/org/apache/camel/component/nats/springboot/NatsComponentAutoConfiguration.java
index 1bebff7..ef0c2e3 100644
--- a/platforms/spring-boot/components-starter/camel-nats-starter/src/main/java/org/apache/camel/component/nats/springboot/NatsComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-nats-starter/src/main/java/org/apache/camel/component/nats/springboot/NatsComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class NatsComponentAutoConfiguration 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<NatsComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<NatsComponent> 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-netty-http-starter/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-netty-http-starter/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-netty-http-starter/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentAutoConfiguration.java
index 94af67d..53e5697 100644
--- a/platforms/spring-boot/components-starter/camel-netty-http-starter/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-netty-http-starter/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class NettyHttpComponentAutoConfiguration 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<NettyHttpComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<NettyHttpComponent> 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-netty-starter/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-netty-starter/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-netty-starter/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentAutoConfiguration.java
index 7d11ae7..10b2801 100644
--- a/platforms/spring-boot/components-starter/camel-netty-starter/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-netty-starter/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class NettyComponentAutoConfiguration 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<NettyComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<NettyComponent> 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-netty4-http-starter/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-netty4-http-starter/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-netty4-http-starter/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentAutoConfiguration.java
index 44b03d8..e375652 100644
--- a/platforms/spring-boot/components-starter/camel-netty4-http-starter/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-netty4-http-starter/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class NettyHttpComponentAutoConfiguration 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<NettyHttpComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<NettyHttpComponent> 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-netty4-starter/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-netty4-starter/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-netty4-starter/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentAutoConfiguration.java
index 13bf1cc..e860d0d 100644
--- a/platforms/spring-boot/components-starter/camel-netty4-starter/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-netty4-starter/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class NettyComponentAutoConfiguration 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<NettyComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<NettyComponent> 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-ognl-starter/src/main/java/org/apache/camel/language/ognl/springboot/OgnlLanguageAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-ognl-starter/src/main/java/org/apache/camel/language/ognl/springboot/OgnlLanguageAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-ognl-starter/src/main/java/org/apache/camel/language/ognl/springboot/OgnlLanguageAutoConfiguration.java
index c705f05..94a2985 100644
--- a/platforms/spring-boot/components-starter/camel-ognl-starter/src/main/java/org/apache/camel/language/ognl/springboot/OgnlLanguageAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-ognl-starter/src/main/java/org/apache/camel/language/ognl/springboot/OgnlLanguageAutoConfiguration.java
@@ -102,14 +102,14 @@ public class OgnlLanguageAutoConfiguration 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<OgnlLanguage> configurer : customizers) {
- LOGGER.debug("Configure language {}, with configurer {}",
- language, configurer);
- configurer.customize(language);
+ && languageConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (LanguageCustomizer<OgnlLanguage> 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-olingo2-starter/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-olingo2-starter/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-olingo2-starter/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentAutoConfiguration.java
index 228cbc2..5eccce1 100644
--- a/platforms/spring-boot/components-starter/camel-olingo2-starter/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-olingo2-starter/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class Olingo2ComponentAutoConfiguration 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<Olingo2Component> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<Olingo2Component> 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-olingo4-starter/src/main/java/org/apache/camel/component/olingo4/springboot/Olingo4ComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-olingo4-starter/src/main/java/org/apache/camel/component/olingo4/springboot/Olingo4ComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-olingo4-starter/src/main/java/org/apache/camel/component/olingo4/springboot/Olingo4ComponentAutoConfiguration.java
index a074256..e49d68d 100644
--- a/platforms/spring-boot/components-starter/camel-olingo4-starter/src/main/java/org/apache/camel/component/olingo4/springboot/Olingo4ComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-olingo4-starter/src/main/java/org/apache/camel/component/olingo4/springboot/Olingo4ComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class Olingo4ComponentAutoConfiguration 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<Olingo4Component> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<Olingo4Component> 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-openshift-starter/src/main/java/org/apache/camel/component/openshift/springboot/OpenShiftComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-openshift-starter/src/main/java/org/apache/camel/component/openshift/springboot/OpenShiftComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-openshift-starter/src/main/java/org/apache/camel/component/openshift/springboot/OpenShiftComponentAutoConfiguration.java
index 953d835..d580dae 100644
--- a/platforms/spring-boot/components-starter/camel-openshift-starter/src/main/java/org/apache/camel/component/openshift/springboot/OpenShiftComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-openshift-starter/src/main/java/org/apache/camel/component/openshift/springboot/OpenShiftComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class OpenShiftComponentAutoConfiguration 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<OpenShiftComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<OpenShiftComponent> 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-openstack-starter/src/main/java/org/apache/camel/component/openstack/cinder/springboot/CinderComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-openstack-starter/src/main/java/org/apache/camel/component/openstack/cinder/springboot/CinderComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-openstack-starter/src/main/java/org/apache/camel/component/openstack/cinder/springboot/CinderComponentAutoConfiguration.java
index bdd5696..199d313 100644
--- a/platforms/spring-boot/components-starter/camel-openstack-starter/src/main/java/org/apache/camel/component/openstack/cinder/springboot/CinderComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-openstack-starter/src/main/java/org/apache/camel/component/openstack/cinder/springboot/CinderComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class CinderComponentAutoConfiguration 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<CinderComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<CinderComponent> 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-openstack-starter/src/main/java/org/apache/camel/component/openstack/glance/springboot/GlanceComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-openstack-starter/src/main/java/org/apache/camel/component/openstack/glance/springboot/GlanceComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-openstack-starter/src/main/java/org/apache/camel/component/openstack/glance/springboot/GlanceComponentAutoConfiguration.java
index f7fccac..b6b153e 100644
--- a/platforms/spring-boot/components-starter/camel-openstack-starter/src/main/java/org/apache/camel/component/openstack/glance/springboot/GlanceComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-openstack-starter/src/main/java/org/apache/camel/component/openstack/glance/springboot/GlanceComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class GlanceComponentAutoConfiguration 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<GlanceComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<GlanceComponent> 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-openstack-starter/src/main/java/org/apache/camel/component/openstack/keystone/springboot/KeystoneComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-openstack-starter/src/main/java/org/apache/camel/component/openstack/keystone/springboot/KeystoneComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-openstack-starter/src/main/java/org/apache/camel/component/openstack/keystone/springboot/KeystoneComponentAutoConfiguration.java
index 2216b60..060a35c 100644
--- a/platforms/spring-boot/components-starter/camel-openstack-starter/src/main/java/org/apache/camel/component/openstack/keystone/springboot/KeystoneComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-openstack-starter/src/main/java/org/apache/camel/component/openstack/keystone/springboot/KeystoneComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class KeystoneComponentAutoConfiguration 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<KeystoneComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<KeystoneComponent> customizer : customizers) {
+ LOGGER.debug("Configure component {}, with customizer {}",
+ component, customizer);
+ customizer.customize(component);
}
}
return component;
[11/11] camel git commit: Fix wrong name for customizers
Posted by lb...@apache.org.
Fix wrong name for customizers
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/be6a2dce
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/be6a2dce
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/be6a2dce
Branch: refs/heads/master
Commit: be6a2dce03367cdb36aab00003f85fe57cf7ad0d
Parents: 24d9de0
Author: lburgazzoli <lb...@gmail.com>
Authored: Fri May 19 17:20:12 2017 +0200
Committer: lburgazzoli <lb...@gmail.com>
Committed: Fri May 19 17:20:12 2017 +0200
----------------------------------------------------------------------
.../ahc/springboot/AhcComponentAutoConfiguration.java | 14 +++++++-------
.../ws/springboot/WsComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/AMQPComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/ApnsComponentAutoConfiguration.java | 14 +++++++-------
.../AsteriskComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/AtmosComponentAutoConfiguration.java | 14 +++++++-------
.../WebsocketComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/AtomComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/AvroComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/AvroDataFormatAutoConfiguration.java | 14 +++++++-------
.../cw/springboot/CwComponentAutoConfiguration.java | 14 +++++++-------
.../ddb/springboot/DdbComponentAutoConfiguration.java | 14 +++++++-------
.../DdbStreamComponentAutoConfiguration.java | 14 +++++++-------
.../ec2/springboot/EC2ComponentAutoConfiguration.java | 14 +++++++-------
.../KinesisFirehoseComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/KinesisComponentAutoConfiguration.java | 14 +++++++-------
.../s3/springboot/S3ComponentAutoConfiguration.java | 14 +++++++-------
.../sdb/springboot/SdbComponentAutoConfiguration.java | 14 +++++++-------
.../ses/springboot/SesComponentAutoConfiguration.java | 14 +++++++-------
.../sns/springboot/SnsComponentAutoConfiguration.java | 14 +++++++-------
.../sqs/springboot/SqsComponentAutoConfiguration.java | 14 +++++++-------
.../swf/springboot/SWFComponentAutoConfiguration.java | 14 +++++++-------
.../BlobServiceComponentAutoConfiguration.java | 14 +++++++-------
.../QueueServiceComponentAutoConfiguration.java | 14 +++++++-------
.../BarcodeDataFormatAutoConfiguration.java | 14 +++++++-------
.../springboot/Base64DataFormatAutoConfiguration.java | 14 +++++++-------
.../BeanValidatorComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/BeanIODataFormatAutoConfiguration.java | 14 +++++++-------
.../BeanstalkComponentAutoConfiguration.java | 14 +++++++-------
.../BindyCsvDataFormatAutoConfiguration.java | 14 +++++++-------
.../BindyFixedLengthDataFormatAutoConfiguration.java | 14 +++++++-------
.../BindyKeyValuePairDataFormatAutoConfiguration.java | 14 +++++++-------
.../springboot/BonitaComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/BoonDataFormatAutoConfiguration.java | 14 +++++++-------
.../box/springboot/BoxComponentAutoConfiguration.java | 14 +++++++-------
.../BraintreeComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/CacheComponentAutoConfiguration.java | 14 +++++++-------
.../CassandraComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/CastorDataFormatAutoConfiguration.java | 14 +++++++-------
.../ChronicleEngineComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/ChunkComponentAutoConfiguration.java | 14 +++++++-------
.../cm/springboot/CMComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/CMISComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/CoAPComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/CometdComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/ConsulComponentAutoConfiguration.java | 14 +++++++-------
.../QualifiedContextComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/BeanComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/ClassComponentAutoConfiguration.java | 14 +++++++-------
.../BindingNameComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/BrowseComponentAutoConfiguration.java | 14 +++++++-------
.../ControlBusComponentAutoConfiguration.java | 14 +++++++-------
.../DataFormatComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/DataSetComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/DirectComponentAutoConfiguration.java | 14 +++++++-------
.../DirectVmComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/FileComponentAutoConfiguration.java | 14 +++++++-------
.../LanguageComponentAutoConfiguration.java | 14 +++++++-------
.../log/springboot/LogComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/MockComponentAutoConfiguration.java | 14 +++++++-------
.../PropertiesComponentAutoConfiguration.java | 14 +++++++-------
.../ref/springboot/RefComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/RestApiComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/RestComponentAutoConfiguration.java | 14 +++++++-------
.../SchedulerComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/SedaComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/StubComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/TestComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/TimerComponentAutoConfiguration.java | 14 +++++++-------
.../ValidatorComponentAutoConfiguration.java | 14 +++++++-------
.../vm/springboot/VmComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/XsltComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/GzipDataFormatAutoConfiguration.java | 14 +++++++-------
.../SerializationDataFormatAutoConfiguration.java | 14 +++++++-------
.../springboot/StringDataFormatAutoConfiguration.java | 14 +++++++-------
.../springboot/ZipDataFormatAutoConfiguration.java | 14 +++++++-------
.../springboot/BeanLanguageAutoConfiguration.java | 14 +++++++-------
.../springboot/ConstantLanguageAutoConfiguration.java | 14 +++++++-------
.../springboot/HeaderLanguageAutoConfiguration.java | 14 +++++++-------
.../ExchangePropertyLanguageAutoConfiguration.java | 14 +++++++-------
.../ref/springboot/RefLanguageAutoConfiguration.java | 14 +++++++-------
.../springboot/FileLanguageAutoConfiguration.java | 14 +++++++-------
.../springboot/SimpleLanguageAutoConfiguration.java | 14 +++++++-------
.../springboot/TokenizeLanguageAutoConfiguration.java | 14 +++++++-------
.../XMLTokenizeLanguageAutoConfiguration.java | 14 +++++++-------
.../springboot/XPathLanguageAutoConfiguration.java | 14 +++++++-------
.../CouchbaseComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/CouchDbComponentAutoConfiguration.java | 14 +++++++-------
.../DigitalSignatureComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/CryptoDataFormatAutoConfiguration.java | 14 +++++++-------
.../springboot/PGPDataFormatAutoConfiguration.java | 14 +++++++-------
.../springboot/CsvDataFormatAutoConfiguration.java | 14 +++++++-------
.../springboot/CxfRsComponentAutoConfiguration.java | 14 +++++++-------
.../cxf/springboot/CxfComponentAutoConfiguration.java | 14 +++++++-------
.../DigitalOceanComponentAutoConfiguration.java | 14 +++++++-------
.../DisruptorComponentAutoConfiguration.java | 14 +++++++-------
.../DisruptorVmComponentAutoConfiguration.java | 14 +++++++-------
.../dns/springboot/DnsComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/DockerComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/DozerComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/DrillComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/DropboxComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/EhcacheComponentAutoConfiguration.java | 4 ++--
.../ElasticsearchComponentAutoConfiguration.java | 14 +++++++-------
.../ElasticsearchComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/ElsqlComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/EtcdComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/ExecComponentAutoConfiguration.java | 14 +++++++-------
.../FacebookComponentAutoConfiguration.java | 14 +++++++-------
.../FlatpackComponentAutoConfiguration.java | 14 +++++++-------
.../FlatpackDataFormatAutoConfiguration.java | 14 +++++++-------
.../springboot/FlinkComponentAutoConfiguration.java | 14 +++++++-------
.../fop/springboot/FopComponentAutoConfiguration.java | 14 +++++++-------
.../FreemarkerComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/FtpComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/FtpsComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/SftpComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/GangliaComponentAutoConfiguration.java | 14 +++++++-------
.../GeoCoderComponentAutoConfiguration.java | 14 +++++++-------
.../git/springboot/GitComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/GitHubComponentAutoConfiguration.java | 14 +++++++-------
.../GoogleCalendarComponentAutoConfiguration.java | 14 +++++++-------
.../GoogleDriveComponentAutoConfiguration.java | 14 +++++++-------
.../GoogleMailComponentAutoConfiguration.java | 14 +++++++-------
.../GooglePubsubComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/GoraComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/GroovyLanguageAutoConfiguration.java | 14 +++++++-------
.../springboot/GrpcComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/GsonDataFormatAutoConfiguration.java | 14 +++++++-------
.../GuavaEventBusComponentAutoConfiguration.java | 14 +++++++-------
...zelcastAtomicnumberComponentAutoConfiguration.java | 14 +++++++-------
.../HazelcastInstanceComponentAutoConfiguration.java | 14 +++++++-------
.../HazelcastListComponentAutoConfiguration.java | 14 +++++++-------
.../HazelcastMapComponentAutoConfiguration.java | 14 +++++++-------
.../HazelcastMultimapComponentAutoConfiguration.java | 14 +++++++-------
.../HazelcastQueueComponentAutoConfiguration.java | 14 +++++++-------
...elcastReplicatedmapComponentAutoConfiguration.java | 14 +++++++-------
...HazelcastRingbufferComponentAutoConfiguration.java | 14 +++++++-------
.../HazelcastSedaComponentAutoConfiguration.java | 14 +++++++-------
.../HazelcastSetComponentAutoConfiguration.java | 14 +++++++-------
.../HazelcastTopicComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/HBaseComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/HdfsComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/HdfsComponentAutoConfiguration.java | 14 +++++++-------
.../HessianDataFormatAutoConfiguration.java | 14 +++++++-------
.../springboot/HipchatComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/HL7DataFormatAutoConfiguration.java | 14 +++++++-------
.../springboot/TerserLanguageAutoConfiguration.java | 14 +++++++-------
.../springboot/HttpComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/HttpComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/ICalDataFormatAutoConfiguration.java | 14 +++++++-------
.../IgniteCacheComponentAutoConfiguration.java | 14 +++++++-------
.../IgniteComputeComponentAutoConfiguration.java | 14 +++++++-------
.../IgniteEventsComponentAutoConfiguration.java | 14 +++++++-------
.../IgniteIdGenComponentAutoConfiguration.java | 14 +++++++-------
.../IgniteMessagingComponentAutoConfiguration.java | 14 +++++++-------
.../IgniteQueueComponentAutoConfiguration.java | 14 +++++++-------
.../IgniteSetComponentAutoConfiguration.java | 14 +++++++-------
.../InfinispanComponentAutoConfiguration.java | 14 +++++++-------
.../InfluxDbComponentAutoConfiguration.java | 14 +++++++-------
.../irc/springboot/IrcComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/IronMQComponentAutoConfiguration.java | 14 +++++++-------
.../JacksonDataFormatAutoConfiguration.java | 14 +++++++-------
.../JacksonXMLDataFormatAutoConfiguration.java | 14 +++++++-------
.../JavaSpaceComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/JaxbDataFormatAutoConfiguration.java | 14 +++++++-------
.../springboot/JBPMComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/JCacheComponentAutoConfiguration.java | 14 +++++++-------
.../jcr/springboot/JcrComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/JdbcComponentAutoConfiguration.java | 14 +++++++-------
.../JettyHttpComponentAutoConfiguration9.java | 14 +++++++-------
.../springboot/JGroupsComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/JibxDataFormatAutoConfiguration.java | 14 +++++++-------
.../springboot/JingComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/JIRAComponentAutoConfiguration.java | 14 +++++++-------
.../jms/springboot/JmsComponentAutoConfiguration.java | 14 +++++++-------
.../jmx/springboot/JMXComponentAutoConfiguration.java | 14 +++++++-------
.../JohnzonDataFormatAutoConfiguration.java | 14 +++++++-------
.../springboot/JoltComponentAutoConfiguration.java | 14 +++++++-------
.../sql/springboot/SqlLanguageAutoConfiguration.java | 14 +++++++-------
.../jpa/springboot/JpaComponentAutoConfiguration.java | 14 +++++++-------
.../scp/springboot/ScpComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/JsonPathLanguageAutoConfiguration.java | 14 +++++++-------
.../springboot/Jt400ComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/JuelLanguageAutoConfiguration.java | 14 +++++++-------
.../springboot/JXPathLanguageAutoConfiguration.java | 14 +++++++-------
.../springboot/KafkaComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/KestrelComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/KratiComponentAutoConfiguration.java | 14 +++++++-------
.../KubernetesComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/LdapComponentAutoConfiguration.java | 14 +++++++-------
.../LinkedInComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/LuceneComponentAutoConfiguration.java | 14 +++++++-------
.../LumberjackComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/LZFDataFormatAutoConfiguration.java | 14 +++++++-------
.../springboot/MailComponentAutoConfiguration.java | 14 +++++++-------
.../MimeMultipartDataFormatAutoConfiguration.java | 14 +++++++-------
.../springboot/MetricsComponentAutoConfiguration.java | 14 +++++++-------
.../MiloClientComponentAutoConfiguration.java | 14 +++++++-------
.../MiloServerComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/Mina2ComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/MllpComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/GridFsComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/MongoDbComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/MongoDbComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/MQTTComponentAutoConfiguration.java | 14 +++++++-------
.../msv/springboot/MsvComponentAutoConfiguration.java | 14 +++++++-------
.../MustacheComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/MvelComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/MvelLanguageAutoConfiguration.java | 14 +++++++-------
.../springboot/MyBatisComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/NagiosComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/NatsComponentAutoConfiguration.java | 14 +++++++-------
.../NettyHttpComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/NettyComponentAutoConfiguration.java | 14 +++++++-------
.../NettyHttpComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/NettyComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/OgnlLanguageAutoConfiguration.java | 14 +++++++-------
.../springboot/Olingo2ComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/Olingo4ComponentAutoConfiguration.java | 14 +++++++-------
.../OpenShiftComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/CinderComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/GlanceComponentAutoConfiguration.java | 14 +++++++-------
.../KeystoneComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/NeutronComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/NovaComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/SwiftComponentAutoConfiguration.java | 14 +++++++-------
.../OptaPlannerComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/PahoComponentAutoConfiguration.java | 14 +++++++-------
.../pdf/springboot/PdfComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/PgEventComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/PrinterComponentAutoConfiguration.java | 14 +++++++-------
.../ProtobufDataFormatAutoConfiguration.java | 14 +++++++-------
.../springboot/PubNubComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/QuartzComponentAutoConfiguration.java | 14 +++++++-------
.../QuickfixjComponentAutoConfiguration.java | 14 +++++++-------
.../RabbitMQComponentAutoConfiguration.java | 14 +++++++-------
.../ReactiveStreamsComponentAutoConfiguration.java | 14 +++++++-------
.../RestSwaggerComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/RestletComponentAutoConfiguration.java | 14 +++++++-------
.../rmi/springboot/RmiComponentAutoConfiguration.java | 14 +++++++-------
.../RouteboxComponentAutoConfiguration.java | 14 +++++++-------
.../rss/springboot/RssComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/RssDataFormatAutoConfiguration.java | 14 +++++++-------
.../SalesforceComponentAutoConfiguration.java | 14 +++++++-------
.../NetWeaverComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/XQueryComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/XQueryLanguageAutoConfiguration.java | 14 +++++++-------
.../SchematronComponentAutoConfiguration.java | 14 +++++++-------
.../JavaScriptLanguageAutoConfiguration.java | 14 +++++++-------
.../springboot/PhpLanguageAutoConfiguration.java | 14 +++++++-------
.../springboot/PythonLanguageAutoConfiguration.java | 14 +++++++-------
.../springboot/RubyLanguageAutoConfiguration.java | 14 +++++++-------
.../ServiceNowComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/ServletComponentAutoConfiguration.java | 14 +++++++-------
.../sip/springboot/SipComponentAutoConfiguration.java | 14 +++++++-------
.../SjmsBatchComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/SjmsComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/Sjms2ComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/SlackComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/SmppComponentAutoConfiguration.java | 14 +++++++-------
.../SnakeYAMLDataFormatAutoConfiguration.java | 14 +++++++-------
.../springboot/SnmpComponentAutoConfiguration.java | 14 +++++++-------
.../SoapJaxbDataFormatAutoConfiguration.java | 14 +++++++-------
.../springboot/SolrComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/SparkComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/SplunkComponentAutoConfiguration.java | 14 +++++++-------
.../SpringBatchComponentAutoConfiguration.java | 14 +++++++-------
.../SpringIntegrationComponentAutoConfiguration.java | 14 +++++++-------
.../SpringLdapComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/RedisComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/EventComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/SpelLanguageAutoConfiguration.java | 14 +++++++-------
.../SpringWebserviceComponentAutoConfiguration.java | 14 +++++++-------
.../sql/springboot/SqlComponentAutoConfiguration.java | 14 +++++++-------
.../SqlStoredComponentAutoConfiguration.java | 14 +++++++-------
.../ssh/springboot/SshComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/StAXComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/StompComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/StreamComponentAutoConfiguration.java | 14 +++++++-------
.../StringTemplateComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/SyslogDataFormatAutoConfiguration.java | 14 +++++++-------
.../TidyMarkupDataFormatAutoConfiguration.java | 14 +++++++-------
.../TarFileDataFormatAutoConfiguration.java | 14 +++++++-------
.../TelegramComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/TikaComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/TwitterComponentAutoConfiguration.java | 14 +++++++-------
.../UndertowComponentAutoConfiguration.java | 14 +++++++-------
.../UniVocityCsvDataFormatAutoConfiguration.java | 14 +++++++-------
...niVocityFixedWidthDataFormatAutoConfiguration.java | 14 +++++++-------
.../UniVocityTsvDataFormatAutoConfiguration.java | 14 +++++++-------
.../VelocityComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/VertxComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/WeatherComponentAutoConfiguration.java | 14 +++++++-------
.../WebsocketComponentAutoConfiguration.java | 14 +++++++-------
.../XmlBeansDataFormatAutoConfiguration.java | 14 +++++++-------
.../XmlJsonDataFormatAutoConfiguration.java | 14 +++++++-------
.../springboot/XmlRpcComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/XmlRpcDataFormatAutoConfiguration.java | 14 +++++++-------
.../XmlSignatureComponentAutoConfiguration.java | 14 +++++++-------
.../XMLSecurityDataFormatAutoConfiguration.java | 14 +++++++-------
.../springboot/XmppComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/JsonDataFormatAutoConfiguration.java | 14 +++++++-------
.../XStreamDataFormatAutoConfiguration.java | 14 +++++++-------
.../springboot/YammerComponentAutoConfiguration.java | 14 +++++++-------
.../springboot/ZendeskComponentAutoConfiguration.java | 14 +++++++-------
.../ZipFileDataFormatAutoConfiguration.java | 14 +++++++-------
.../springboot/MasterComponentAutoConfiguration.java | 14 +++++++-------
.../ZooKeeperComponentAutoConfiguration.java | 14 +++++++-------
309 files changed, 2158 insertions(+), 2158 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/be6a2dce/platforms/spring-boot/components-starter/camel-ahc-starter/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-ahc-starter/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-ahc-starter/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentAutoConfiguration.java
index 318db22..619dbee 100644
--- a/platforms/spring-boot/components-starter/camel-ahc-starter/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-ahc-starter/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class AhcComponentAutoConfiguration 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<AhcComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<AhcComponent> 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-ahc-ws-starter/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-ahc-ws-starter/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-ahc-ws-starter/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentAutoConfiguration.java
index 7790e63..9704e91 100644
--- a/platforms/spring-boot/components-starter/camel-ahc-ws-starter/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-ahc-ws-starter/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class WsComponentAutoConfiguration 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<WsComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<WsComponent> 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-amqp-starter/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-amqp-starter/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-amqp-starter/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentAutoConfiguration.java
index 3054735..47fc210 100644
--- a/platforms/spring-boot/components-starter/camel-amqp-starter/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-amqp-starter/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class AMQPComponentAutoConfiguration 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<AMQPComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<AMQPComponent> 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-apns-starter/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-apns-starter/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-apns-starter/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentAutoConfiguration.java
index 16128bf..c1961f0 100644
--- a/platforms/spring-boot/components-starter/camel-apns-starter/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-apns-starter/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class ApnsComponentAutoConfiguration 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<ApnsComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<ApnsComponent> 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-asterisk-starter/src/main/java/org/apache/camel/component/asterisk/springboot/AsteriskComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-asterisk-starter/src/main/java/org/apache/camel/component/asterisk/springboot/AsteriskComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-asterisk-starter/src/main/java/org/apache/camel/component/asterisk/springboot/AsteriskComponentAutoConfiguration.java
index a6c97d5..61eacbf 100644
--- a/platforms/spring-boot/components-starter/camel-asterisk-starter/src/main/java/org/apache/camel/component/asterisk/springboot/AsteriskComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-asterisk-starter/src/main/java/org/apache/camel/component/asterisk/springboot/AsteriskComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class AsteriskComponentAutoConfiguration 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<AsteriskComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<AsteriskComponent> 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-atmos-starter/src/main/java/org/apache/camel/component/atmos/springboot/AtmosComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-atmos-starter/src/main/java/org/apache/camel/component/atmos/springboot/AtmosComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-atmos-starter/src/main/java/org/apache/camel/component/atmos/springboot/AtmosComponentAutoConfiguration.java
index 0e3379d..42656ba 100644
--- a/platforms/spring-boot/components-starter/camel-atmos-starter/src/main/java/org/apache/camel/component/atmos/springboot/AtmosComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-atmos-starter/src/main/java/org/apache/camel/component/atmos/springboot/AtmosComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class AtmosComponentAutoConfiguration 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<AtmosComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<AtmosComponent> 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-atmosphere-websocket-starter/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-atmosphere-websocket-starter/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-atmosphere-websocket-starter/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentAutoConfiguration.java
index 15b25d0..1e8171e 100644
--- a/platforms/spring-boot/components-starter/camel-atmosphere-websocket-starter/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-atmosphere-websocket-starter/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class WebsocketComponentAutoConfiguration 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<WebsocketComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<WebsocketComponent> 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-atom-starter/src/main/java/org/apache/camel/component/atom/springboot/AtomComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-atom-starter/src/main/java/org/apache/camel/component/atom/springboot/AtomComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-atom-starter/src/main/java/org/apache/camel/component/atom/springboot/AtomComponentAutoConfiguration.java
index 3624af4..28f70c0 100644
--- a/platforms/spring-boot/components-starter/camel-atom-starter/src/main/java/org/apache/camel/component/atom/springboot/AtomComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-atom-starter/src/main/java/org/apache/camel/component/atom/springboot/AtomComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class AtomComponentAutoConfiguration 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<AtomComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<AtomComponent> 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-avro-starter/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-avro-starter/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-avro-starter/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentAutoConfiguration.java
index b15b609..ee751b6 100644
--- a/platforms/spring-boot/components-starter/camel-avro-starter/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-avro-starter/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class AvroComponentAutoConfiguration 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<AvroComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<AvroComponent> 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-avro-starter/src/main/java/org/apache/camel/dataformat/avro/springboot/AvroDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-avro-starter/src/main/java/org/apache/camel/dataformat/avro/springboot/AvroDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-avro-starter/src/main/java/org/apache/camel/dataformat/avro/springboot/AvroDataFormatAutoConfiguration.java
index a11a2db..470437f 100644
--- a/platforms/spring-boot/components-starter/camel-avro-starter/src/main/java/org/apache/camel/dataformat/avro/springboot/AvroDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-avro-starter/src/main/java/org/apache/camel/dataformat/avro/springboot/AvroDataFormatAutoConfiguration.java
@@ -111,15 +111,15 @@ public class AvroDataFormatAutoConfiguration 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<AvroDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<AvroDataFormat> 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-aws-starter/src/main/java/org/apache/camel/component/aws/cw/springboot/CwComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/cw/springboot/CwComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/cw/springboot/CwComponentAutoConfiguration.java
index 74d072a..33e9d8e 100644
--- a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/cw/springboot/CwComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/cw/springboot/CwComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class CwComponentAutoConfiguration 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<CwComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<CwComponent> 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-aws-starter/src/main/java/org/apache/camel/component/aws/ddb/springboot/DdbComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ddb/springboot/DdbComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ddb/springboot/DdbComponentAutoConfiguration.java
index 7787933..c1046ea 100644
--- a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ddb/springboot/DdbComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ddb/springboot/DdbComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class DdbComponentAutoConfiguration 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<DdbComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<DdbComponent> 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-aws-starter/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentAutoConfiguration.java
index 86ae753..101f255 100644
--- a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class DdbStreamComponentAutoConfiguration 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<DdbStreamComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<DdbStreamComponent> 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-aws-starter/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentAutoConfiguration.java
index 92ddc2e..10ea38f 100644
--- a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class EC2ComponentAutoConfiguration 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<EC2Component> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<EC2Component> 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-aws-starter/src/main/java/org/apache/camel/component/aws/firehose/springboot/KinesisFirehoseComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/firehose/springboot/KinesisFirehoseComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/firehose/springboot/KinesisFirehoseComponentAutoConfiguration.java
index df4ce59..84177ef 100644
--- a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/firehose/springboot/KinesisFirehoseComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/firehose/springboot/KinesisFirehoseComponentAutoConfiguration.java
@@ -117,14 +117,14 @@ public class KinesisFirehoseComponentAutoConfiguration
}
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<KinesisFirehoseComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<KinesisFirehoseComponent> 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-aws-starter/src/main/java/org/apache/camel/component/aws/kinesis/springboot/KinesisComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/kinesis/springboot/KinesisComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/kinesis/springboot/KinesisComponentAutoConfiguration.java
index c258d78..32941a1 100644
--- a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/kinesis/springboot/KinesisComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/kinesis/springboot/KinesisComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class KinesisComponentAutoConfiguration 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<KinesisComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<KinesisComponent> 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-aws-starter/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentAutoConfiguration.java
index b6b218f..b1a94e1 100644
--- a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class S3ComponentAutoConfiguration 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<S3Component> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<S3Component> 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-aws-starter/src/main/java/org/apache/camel/component/aws/sdb/springboot/SdbComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/sdb/springboot/SdbComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/sdb/springboot/SdbComponentAutoConfiguration.java
index 91fb6bb..b31381d 100644
--- a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/sdb/springboot/SdbComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/sdb/springboot/SdbComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class SdbComponentAutoConfiguration 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<SdbComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<SdbComponent> 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-aws-starter/src/main/java/org/apache/camel/component/aws/ses/springboot/SesComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ses/springboot/SesComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ses/springboot/SesComponentAutoConfiguration.java
index b406b9a..742c777 100644
--- a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ses/springboot/SesComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ses/springboot/SesComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class SesComponentAutoConfiguration 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<SesComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<SesComponent> 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-aws-starter/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentAutoConfiguration.java
index 6093b97..5011b5e 100644
--- a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class SnsComponentAutoConfiguration 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<SnsComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<SnsComponent> 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-aws-starter/src/main/java/org/apache/camel/component/aws/sqs/springboot/SqsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/sqs/springboot/SqsComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/sqs/springboot/SqsComponentAutoConfiguration.java
index 9a3eb5f..1bad271 100644
--- a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/sqs/springboot/SqsComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/sqs/springboot/SqsComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class SqsComponentAutoConfiguration 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<SqsComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<SqsComponent> 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-aws-starter/src/main/java/org/apache/camel/component/aws/swf/springboot/SWFComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/swf/springboot/SWFComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/swf/springboot/SWFComponentAutoConfiguration.java
index aafe618..68dd8ae 100644
--- a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/swf/springboot/SWFComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/swf/springboot/SWFComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class SWFComponentAutoConfiguration 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<SWFComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<SWFComponent> 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-azure-starter/src/main/java/org/apache/camel/component/azure/blob/springboot/BlobServiceComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-azure-starter/src/main/java/org/apache/camel/component/azure/blob/springboot/BlobServiceComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-azure-starter/src/main/java/org/apache/camel/component/azure/blob/springboot/BlobServiceComponentAutoConfiguration.java
index 7df562e..03facce 100644
--- a/platforms/spring-boot/components-starter/camel-azure-starter/src/main/java/org/apache/camel/component/azure/blob/springboot/BlobServiceComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-azure-starter/src/main/java/org/apache/camel/component/azure/blob/springboot/BlobServiceComponentAutoConfiguration.java
@@ -115,14 +115,14 @@ public class BlobServiceComponentAutoConfiguration 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<BlobServiceComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<BlobServiceComponent> 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-azure-starter/src/main/java/org/apache/camel/component/azure/queue/springboot/QueueServiceComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-azure-starter/src/main/java/org/apache/camel/component/azure/queue/springboot/QueueServiceComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-azure-starter/src/main/java/org/apache/camel/component/azure/queue/springboot/QueueServiceComponentAutoConfiguration.java
index e2ec376..f74cc24 100644
--- a/platforms/spring-boot/components-starter/camel-azure-starter/src/main/java/org/apache/camel/component/azure/queue/springboot/QueueServiceComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-azure-starter/src/main/java/org/apache/camel/component/azure/queue/springboot/QueueServiceComponentAutoConfiguration.java
@@ -115,14 +115,14 @@ public class QueueServiceComponentAutoConfiguration 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<QueueServiceComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<QueueServiceComponent> 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-barcode-starter/src/main/java/org/apache/camel/dataformat/barcode/springboot/BarcodeDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-barcode-starter/src/main/java/org/apache/camel/dataformat/barcode/springboot/BarcodeDataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-barcode-starter/src/main/java/org/apache/camel/dataformat/barcode/springboot/BarcodeDataFormatAutoConfiguration.java
index 0118a34..d9b5864 100644
--- a/platforms/spring-boot/components-starter/camel-barcode-starter/src/main/java/org/apache/camel/dataformat/barcode/springboot/BarcodeDataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-barcode-starter/src/main/java/org/apache/camel/dataformat/barcode/springboot/BarcodeDataFormatAutoConfiguration.java
@@ -112,15 +112,15 @@ public class BarcodeDataFormatAutoConfiguration 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<BarcodeDataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<BarcodeDataFormat> 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-base64-starter/src/main/java/org/apache/camel/dataformat/base64/springboot/Base64DataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-base64-starter/src/main/java/org/apache/camel/dataformat/base64/springboot/Base64DataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-base64-starter/src/main/java/org/apache/camel/dataformat/base64/springboot/Base64DataFormatAutoConfiguration.java
index b782146..8083830 100644
--- a/platforms/spring-boot/components-starter/camel-base64-starter/src/main/java/org/apache/camel/dataformat/base64/springboot/Base64DataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-base64-starter/src/main/java/org/apache/camel/dataformat/base64/springboot/Base64DataFormatAutoConfiguration.java
@@ -112,15 +112,15 @@ public class Base64DataFormatAutoConfiguration 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<Base64DataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<Base64DataFormat> 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-bean-validator-starter/src/main/java/org/apache/camel/component/bean/validator/springboot/BeanValidatorComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-bean-validator-starter/src/main/java/org/apache/camel/component/bean/validator/springboot/BeanValidatorComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-bean-validator-starter/src/main/java/org/apache/camel/component/bean/validator/springboot/BeanValidatorComponentAutoConfiguration.java
index 40a83c4..812ac35 100644
--- a/platforms/spring-boot/components-starter/camel-bean-validator-starter/src/main/java/org/apache/camel/component/bean/validator/springboot/BeanValidatorComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-bean-validator-starter/src/main/java/org/apache/camel/component/bean/validator/springboot/BeanValidatorComponentAutoConfiguration.java
@@ -117,14 +117,14 @@ public class BeanValidatorComponentAutoConfiguration
}
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<BeanValidatorComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<BeanValidatorComponent> 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-beanio-starter/src/main/java/org/apache/camel/dataformat/beanio/springboot/BeanIODataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-beanio-starter/src/main/java/org/apache/camel/dataformat/beanio/springboot/BeanIODataFormatAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-beanio-starter/src/main/java/org/apache/camel/dataformat/beanio/springboot/BeanIODataFormatAutoConfiguration.java
index 9d25941..776f8c0 100644
--- a/platforms/spring-boot/components-starter/camel-beanio-starter/src/main/java/org/apache/camel/dataformat/beanio/springboot/BeanIODataFormatAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-beanio-starter/src/main/java/org/apache/camel/dataformat/beanio/springboot/BeanIODataFormatAutoConfiguration.java
@@ -112,15 +112,15 @@ public class BeanIODataFormatAutoConfiguration 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<BeanIODataFormat> configurer : customizers) {
+ && dataformatConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (DataFormatCustomizer<BeanIODataFormat> 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-beanstalk-starter/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-beanstalk-starter/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentAutoConfiguration.java b/platforms/spring-boot/components-starter/camel-beanstalk-starter/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentAutoConfiguration.java
index 990c46e..2a02d5f 100644
--- a/platforms/spring-boot/components-starter/camel-beanstalk-starter/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-beanstalk-starter/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentAutoConfiguration.java
@@ -114,14 +114,14 @@ public class BeanstalkComponentAutoConfiguration 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<BeanstalkComponent> configurer : customizers) {
- LOGGER.debug("Configure component {}, with configurer {}",
- component, configurer);
- configurer.customize(component);
+ && componentConfiguration.getCustomizer().isEnabled();
+ if (useCustomizers && ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<BeanstalkComponent> customizer : customizers) {
+ LOGGER.debug("Configure component {}, with customizer {}",
+ component, customizer);
+ customizer.customize(component);
}
}
return component;