This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 5a7dca4 CAMEL-13846: Make PropertyBindingSupport a fluent builder only 5a7dca4 is described below commit 5a7dca4a457bf325c24efc7ea514a5ea461dee0c Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Fri Aug 9 16:15:11 2019 +0200 CAMEL-13846: Make PropertyBindingSupport a fluent builder only --- .../java/org/apache/camel/spring/boot/util/CamelPropertiesHelper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/util/CamelPropertiesHelper.java b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/util/CamelPropertiesHelper.java index a6a415f..ca06bbe 100644 --- a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/util/CamelPropertiesHelper.java +++ b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/util/CamelPropertiesHelper.java @@ -75,7 +75,7 @@ public final class CamelPropertiesHelper { String stringValue = value != null ? value.toString() : null; boolean hit = false; try { - hit = PropertyBindingSupport.bindProperty(context, target, name, value); + hit = PropertyBindingSupport.build().bind(context, target, name, value); } catch (PropertyBindingException e) { // no we could not and this would be thrown if we attempted to set a value on a property which we cannot do type conversion as // then maybe the value refers to a spring bean in the registry so try this @@ -85,7 +85,7 @@ public final class CamelPropertiesHelper { } // use #bean: to lookup stringValue = "#bean:" + stringValue; - hit = PropertyBindingSupport.bindProperty(context, target, name, stringValue); + hit = PropertyBindingSupport.build().bind(context, target, name, stringValue); } }