Repository: camel
Updated Branches:
  refs/heads/master 1a594a825 -> 9f245c2de


CAMEL-6062: Camel properties now support property placeholder


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

Branch: refs/heads/master
Commit: 0b9bc1056375898dd58079d4dd715c7861534c45
Parents: e81a4ca
Author: Claus Ibsen <davscl...@apache.org>
Authored: Wed Aug 12 16:37:01 2015 +0200
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Wed Aug 12 16:41:24 2015 +0200

----------------------------------------------------------------------
 .../camel/component/properties/PropertiesComponentTest.java     | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/0b9bc105/camel-core/src/test/java/org/apache/camel/component/properties/PropertiesComponentTest.java
----------------------------------------------------------------------
diff --git 
a/camel-core/src/test/java/org/apache/camel/component/properties/PropertiesComponentTest.java
 
b/camel-core/src/test/java/org/apache/camel/component/properties/PropertiesComponentTest.java
index 96d5723..ad82eec 100644
--- 
a/camel-core/src/test/java/org/apache/camel/component/properties/PropertiesComponentTest.java
+++ 
b/camel-core/src/test/java/org/apache/camel/component/properties/PropertiesComponentTest.java
@@ -573,6 +573,9 @@ public class PropertiesComponentTest extends 
ContextTestSupport {
     }
 
     public void testCamelProperties() throws Exception {
+        context.getProperties().put("foo", "Hello {{cool.name}}");
+        context.getProperties().put("bar", "cool.name");
+
         context.start();
 
         assertEquals("Hello Camel", context.getProperties().get("foo"));
@@ -583,8 +586,6 @@ public class PropertiesComponentTest extends 
ContextTestSupport {
     protected CamelContext createCamelContext() throws Exception {
         CamelContext context = super.createCamelContext();
         context.addComponent("properties", new 
PropertiesComponent("classpath:org/apache/camel/component/properties/myproperties.properties"));
-        context.getProperties().put("foo", "Hello {{cool.name}}");
-        context.getProperties().put("bar", "cool.name");
         return context;
     }
 

Reply via email to