camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lburgazz...@apache.org
Subject camel git commit: CAMEL-10352: Optionally delegate to Aries PropertyEvaluator services in BlueprintPropertiesParser
Date Mon, 17 Oct 2016 11:18:46 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.18.x 6f77007e0 -> a8fa3ebd3


CAMEL-10352: Optionally delegate to Aries PropertyEvaluator services in BlueprintPropertiesParser


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/a8fa3ebd
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/a8fa3ebd
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/a8fa3ebd

Branch: refs/heads/camel-2.18.x
Commit: a8fa3ebd3d89e0ffc2270dbcaae629e6d97cb995
Parents: 6f77007
Author: lburgazzoli <lburgazzoli@gmail.com>
Authored: Mon Oct 17 13:05:46 2016 +0200
Committer: lburgazzoli <lburgazzoli@gmail.com>
Committed: Mon Oct 17 13:07:57 2016 +0200

----------------------------------------------------------------------
 .../org/apache/camel/blueprint/BlueprintPropertiesParser.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/a8fa3ebd/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/BlueprintPropertiesParser.java
----------------------------------------------------------------------
diff --git a/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/BlueprintPropertiesParser.java
b/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/BlueprintPropertiesParser.java
index c04e31e..d16762a 100644
--- a/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/BlueprintPropertiesParser.java
+++ b/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/BlueprintPropertiesParser.java
@@ -96,11 +96,11 @@ public class BlueprintPropertiesParser extends DefaultPropertiesParser
{
 
             if (method == null) {
                 try {
-                    method = AbstractPropertyPlaceholder.class.getDeclaredMethod("getProperty",
String.class);
+                    method = AbstractPropertyPlaceholder.class.getDeclaredMethod("retrieveValue",
String.class);
                     method.setAccessible(true);
                 } catch (NoSuchMethodException e) {
                     throw new IllegalStateException("Cannot add blueprint property placeholder:
" + id
-                            + " as the method getProperty is not accessible", e);
+                            + " as the method retrieveValue is not accessible", e);
                 }
             }
         }


Mime
View raw message