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:43 UTC
[camel] 03/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 5bccb7fad7df2f9547431097ed13d535b6c84e7d
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu May 23 04:48:20 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 | 3 +++
1 file changed, 3 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 38b2d10..85a98a1 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
@@ -41,6 +41,9 @@ import static org.apache.camel.support.IntrospectionSupport.getOrElseProperty;
*/
public final class PropertyBindingSupport {
+ // TODO: Add support for auto binding to singleton instance by type from registry (boolean on|off)
+ // TODO: builder pattern with naming prefix: withXXX
+
private static final Pattern SECRETS = Pattern.compile(".*(passphrase|password|secretKey).*", Pattern.CASE_INSENSITIVE);
private static final Logger LOG = LoggerFactory.getLogger(PropertyBindingSupport.class);