Repository: camel Updated Branches: refs/heads/master cc6883dcb -> 25ddb5fd8
Regen Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/25ddb5fd Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/25ddb5fd Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/25ddb5fd Branch: refs/heads/master Commit: 25ddb5fd83790818dc834966cd420d0799ac3a1e Parents: cc6883d Author: Andrea Cosentino <anco...@gmail.com> Authored: Tue Sep 5 09:39:38 2017 +0200 Committer: Andrea Cosentino <anco...@gmail.com> Committed: Tue Sep 5 09:39:38 2017 +0200 ---------------------------------------------------------------------- .../xmpp/springboot/XmppComponentAutoConfiguration.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/25ddb5fd/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 8fdfe96..f8d2f3d 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 @@ -26,6 +26,7 @@ import org.apache.camel.spi.ComponentCustomizer; import org.apache.camel.spi.HasId; import org.apache.camel.spring.boot.CamelAutoConfiguration; import org.apache.camel.spring.boot.ComponentConfigurationProperties; +import org.apache.camel.spring.boot.util.CamelPropertiesHelper; import org.apache.camel.spring.boot.util.ConditionalOnCamelContextAndAutoConfigurationBeans; import org.apache.camel.spring.boot.util.GroupCondition; import org.apache.camel.spring.boot.util.HierarchicalPropertiesEvaluator; @@ -94,16 +95,15 @@ public class XmppComponentAutoConfiguration { IntrospectionSupport.getProperties(value, nestedParameters, null, false); Object nestedProperty = nestedClass.newInstance(); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), nestedProperty, - nestedParameters); + CamelPropertiesHelper.setCamelProperties(camelContext, + nestedProperty, nestedParameters, false); entry.setValue(nestedProperty); } catch (NoSuchFieldException e) { } } } - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); + CamelPropertiesHelper.setCamelProperties(camelContext, component, + parameters, false); if (ObjectHelper.isNotEmpty(customizers)) { for (ComponentCustomizer<XmppComponent> customizer : customizers) { boolean useCustomizer = (customizer instanceof HasId)