You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2019/05/24 10:12:58 UTC

[camel] 18/27: CAMEL-13557: Add property binding support to make it convenient to configure components and whatnot.

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

commit 8796747d07f47d8435b08f9fdaf0d459a57211b5
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu May 23 21:28:30 2019 +0200

    CAMEL-13557: Add property binding support to make it convenient to configure components and whatnot.
---
 .../src/main/java/org/apache/camel/support/PropertyBindingSupport.java  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/core/camel-support/src/main/java/org/apache/camel/support/PropertyBindingSupport.java b/core/camel-support/src/main/java/org/apache/camel/support/PropertyBindingSupport.java
index d992565..cd03b63 100644
--- a/core/camel-support/src/main/java/org/apache/camel/support/PropertyBindingSupport.java
+++ b/core/camel-support/src/main/java/org/apache/camel/support/PropertyBindingSupport.java
@@ -167,6 +167,8 @@ public final class PropertyBindingSupport {
 
         boolean hit = false;
 
+        // TODO: add support for nesting but not for inherited properties from base classes (eg CamelContext etc)
+
         for (Map.Entry<String, Object> entry : properties.entrySet()) {
             String key = entry.getKey();
             Object value = entry.getValue();