camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject git commit: Polished
Date Mon, 21 Jul 2014 09:23:56 GMT
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 <davsclaus@apache.org>
Authored: Mon Jul 21 10:49:19 2014 +0200
Committer: Claus Ibsen <davsclaus@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")


Mime
View raw message