You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by dh...@apache.org on 2014/06/10 21:51:55 UTC

[27/35] git commit: Added missing '/' to test route path

Added missing '/' to test route path


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

Branch: refs/heads/master
Commit: e309bf8febdd57c54359b4a3532c35f189ed820e
Parents: bbb4127
Author: Dhiraj Bokde <dh...@yahoo.com>
Authored: Thu Jun 5 11:40:53 2014 -0700
Committer: Dhiraj Bokde <dh...@yahoo.com>
Committed: Tue Jun 10 12:48:34 2014 -0700

----------------------------------------------------------------------
 .../src/main/resources/api-route-test.vm                           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/e309bf8f/tooling/maven/camel-component-util-maven-plugin/src/main/resources/api-route-test.vm
----------------------------------------------------------------------
diff --git a/tooling/maven/camel-component-util-maven-plugin/src/main/resources/api-route-test.vm b/tooling/maven/camel-component-util-maven-plugin/src/main/resources/api-route-test.vm
index 78d6301..a3acad1 100644
--- a/tooling/maven/camel-component-util-maven-plugin/src/main/resources/api-route-test.vm
+++ b/tooling/maven/camel-component-util-maven-plugin/src/main/resources/api-route-test.vm
@@ -94,7 +94,7 @@ template().requestBodyAndHeader("direct://${model.UniqueName}", null, headers);
 #set ( $args = $model.Arguments )
                 // test route for $model.Name
                 from("direct://${model.UniqueName}")
-                  .to("${scheme}://" + PATH_PREFIX + "${model.Name}#if ( $args.size() == 1 )?inBody=${args.get(0).Name}#end");
+                  .to("${scheme}://" + PATH_PREFIX + "/${model.Name}#if ( $args.size() == 1 )?inBody=${args.get(0).Name}#end");
 
 #end
             }