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 2015/09/24 11:05:16 UTC

[4/4] camel git commit: CAMEL-9156: Add JMX api for the swagger api

CAMEL-9156: Add JMX api for the swagger api


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

Branch: refs/heads/master
Commit: 3ba8059873cbfbd30a23ecebc66555178511bcdd
Parents: e26541a
Author: Claus Ibsen <da...@apache.org>
Authored: Thu Sep 24 11:05:55 2015 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Thu Sep 24 11:05:55 2015 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/camel/example/cdi/UserRouteBuilder.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/3ba80598/examples/camel-example-swagger-cdi/src/main/java/org/apache/camel/example/cdi/UserRouteBuilder.java
----------------------------------------------------------------------
diff --git a/examples/camel-example-swagger-cdi/src/main/java/org/apache/camel/example/cdi/UserRouteBuilder.java b/examples/camel-example-swagger-cdi/src/main/java/org/apache/camel/example/cdi/UserRouteBuilder.java
index e30d978..c746082 100644
--- a/examples/camel-example-swagger-cdi/src/main/java/org/apache/camel/example/cdi/UserRouteBuilder.java
+++ b/examples/camel-example-swagger-cdi/src/main/java/org/apache/camel/example/cdi/UserRouteBuilder.java
@@ -38,7 +38,7 @@ public class UserRouteBuilder extends RouteBuilder {
             // and output using pretty print
             .dataFormatProperty("prettyPrint", "true")
             // setup context path and port number that netty will use
-            .contextPath("/rest").port(8080)
+            .contextPath("/").port(8080)
             // add swagger api-doc out of the box
             .apiContextPath("/api-doc")
                 .apiProperty("api.title", "User API").apiProperty("api.version", "1.2.3")