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;