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 2020/09/08 12:46:02 UTC

[camel] 01/02: CAMEL-15515: camel-core - Deprecate basicPropertyBinding

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 aafce2276eb2b5714285cf80a36f55e2a95127e0
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Sep 8 14:44:06 2020 +0200

    CAMEL-15515: camel-core - Deprecate basicPropertyBinding
---
 .../src/main/java/org/apache/camel/support/DefaultComponent.java       | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/core/camel-support/src/main/java/org/apache/camel/support/DefaultComponent.java b/core/camel-support/src/main/java/org/apache/camel/support/DefaultComponent.java
index ef99edc..acebd86 100644
--- a/core/camel-support/src/main/java/org/apache/camel/support/DefaultComponent.java
+++ b/core/camel-support/src/main/java/org/apache/camel/support/DefaultComponent.java
@@ -60,8 +60,6 @@ public abstract class DefaultComponent extends ServiceSupport implements Compone
      */
     private static final Pattern RAW_PATTERN = Pattern.compile("RAW[({].*&&.*[)}]");
 
-    private static final String RESOURCE_PATH = "META-INF/services/org/apache/camel/configurer/";
-
     private volatile PropertyConfigurer componentPropertyConfigurer;
     private volatile PropertyConfigurer endpointPropertyConfigurer;
     private final List<Supplier<ComponentExtension>> extensions = new ArrayList<>();
@@ -69,6 +67,7 @@ public abstract class DefaultComponent extends ServiceSupport implements Compone
 
     @Metadata(label = "advanced",
               description = "Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities")
+    @Deprecated
     private boolean basicPropertyBinding;
     @Metadata(label = "consumer",
               description = "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while"