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:07 UTC
[03/11] camel git commit: Fix wrong name for customizers
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;