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
commit 5001ff5e23d20d4e260b5b897e4b8e62be03b413 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Thu Jul 11 15:57:14 2019 +0200 Camel-Wordpress: Use PropertyBindingSupport wherever possible --- .../java/org/apache/camel/component/wordpress/WordpressEndpoint.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/camel-wordpress/src/main/java/org/apache/camel/component/wordpress/WordpressEndpoint.java b/components/camel-wordpress/src/main/java/org/apache/camel/component/wordpress/WordpressEndpoint.java index 526b717..c80968b 100644 --- a/components/camel-wordpress/src/main/java/org/apache/camel/component/wordpress/WordpressEndpoint.java +++ b/components/camel-wordpress/src/main/java/org/apache/camel/component/wordpress/WordpressEndpoint.java @@ -118,8 +118,7 @@ public class WordpressEndpoint extends DefaultEndpoint { if (config == null) { config = new WordpressComponentConfiguration(); } - EndpointHelper.setReferenceProperties(getCamelContext(), config, options); - EndpointHelper.setProperties(getCamelContext(), config, options); + PropertyBindingSupport.bindProperties(getCamelContext(), config, options); if (config.getSearchCriteria() == null) { final SearchCriteria searchCriteria = WordpressOperationType.valueOf(operation).getCriteriaType().newInstance();