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 2014/07/21 11:23:56 UTC
git commit: Polished
Repository: camel
Updated Branches:
refs/heads/master f5e8f33fb -> a0f6c3502
Polished
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/a0f6c350
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/a0f6c350
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/a0f6c350
Branch: refs/heads/master
Commit: a0f6c3502aca37aed802aedfa34aadd3d9b02b7c
Parents: f5e8f33
Author: Claus Ibsen <da...@apache.org>
Authored: Mon Jul 21 10:49:19 2014 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Mon Jul 21 10:49:19 2014 +0200
----------------------------------------------------------------------
.../java/org/apache/camel/example/spark/MySparkRouteBuilder.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/a0f6c350/examples/camel-example-spark-rest-tomcat/src/main/java/org/apache/camel/example/spark/MySparkRouteBuilder.java
----------------------------------------------------------------------
diff --git a/examples/camel-example-spark-rest-tomcat/src/main/java/org/apache/camel/example/spark/MySparkRouteBuilder.java b/examples/camel-example-spark-rest-tomcat/src/main/java/org/apache/camel/example/spark/MySparkRouteBuilder.java
index 4c125f5..7f5a6ca 100644
--- a/examples/camel-example-spark-rest-tomcat/src/main/java/org/apache/camel/example/spark/MySparkRouteBuilder.java
+++ b/examples/camel-example-spark-rest-tomcat/src/main/java/org/apache/camel/example/spark/MySparkRouteBuilder.java
@@ -30,7 +30,7 @@ public class MySparkRouteBuilder extends RouteBuilder {
restConfiguration().component("spark-rest");
// use the rest DSL to define rest services, and use embedded routes
- rest().uri("hello/:me")
+ rest("/hello/{me}")
.get().consumes("text/plain")
.route()
.to("log:input")