This is an automated email from the ASF dual-hosted git repository. acosentino 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 2170df9 Camel-Facebook: Use PropertyBindingSupport wherever possible 2170df9 is described below commit 2170df99af9a05a2f1f54cc151565983a08e5b95 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Thu Jul 11 15:20:27 2019 +0200 Camel-Facebook: Use PropertyBindingSupport wherever possible --- .../java/org/apache/camel/component/facebook/FacebookEndpoint.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/FacebookEndpoint.java b/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/FacebookEndpoint.java index 20d1737..d1c00da 100644 --- a/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/FacebookEndpoint.java +++ b/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/FacebookEndpoint.java @@ -37,6 +37,7 @@ import org.apache.camel.spi.UriParam; import org.apache.camel.spi.UriPath; import org.apache.camel.support.DefaultEndpoint; import org.apache.camel.support.EndpointHelper; +import org.apache.camel.support.PropertyBindingSupport; import org.apache.camel.util.ObjectHelper; import static org.apache.camel.component.facebook.data.FacebookMethodsTypeHelper.convertToGetMethod; @@ -99,8 +100,7 @@ public class FacebookEndpoint extends DefaultEndpoint implements FacebookConstan if (configuration == null) { configuration = new FacebookEndpointConfiguration(); } - EndpointHelper.setReferenceProperties(getCamelContext(), configuration, options); - EndpointHelper.setProperties(getCamelContext(), configuration, options); + PropertyBindingSupport.bindProperties(getCamelContext(), configuration, options); } catch (Exception e) { throw new IllegalArgumentException(e.getMessage(), e); }