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/18 16:12:22 UTC

[2/2] camel git commit: CAMEL-7800: camel-swagger-java example

CAMEL-7800: camel-swagger-java example


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

Branch: refs/heads/swagger
Commit: d8e7f33a4c052f5d125026511d7c9afafcdfd6e6
Parents: a688b12
Author: Claus Ibsen <da...@apache.org>
Authored: Fri Sep 18 16:13:38 2015 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Fri Sep 18 16:13:38 2015 +0200

----------------------------------------------------------------------
 examples/camel-example-swagger-java/pom.xml                       | 3 +++
 .../src/main/resources/camel-config-xml.xml                       | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/d8e7f33a/examples/camel-example-swagger-java/pom.xml
----------------------------------------------------------------------
diff --git a/examples/camel-example-swagger-java/pom.xml b/examples/camel-example-swagger-java/pom.xml
index 7552a65..04f690d 100755
--- a/examples/camel-example-swagger-java/pom.xml
+++ b/examples/camel-example-swagger-java/pom.xml
@@ -195,6 +195,9 @@
         <artifactId>jetty-maven-plugin</artifactId>
         <version>${jetty9-version}</version>
         <configuration>
+          <httpConnector>
+            <port>8080</port>
+          </httpConnector>
           <webAppSourceDirectory>target/classes</webAppSourceDirectory>
           <webApp>
             <contextPath>/${project.artifactId}</contextPath>

http://git-wip-us.apache.org/repos/asf/camel/blob/d8e7f33a/examples/camel-example-swagger-java/src/main/resources/camel-config-xml.xml
----------------------------------------------------------------------
diff --git a/examples/camel-example-swagger-java/src/main/resources/camel-config-xml.xml b/examples/camel-example-swagger-java/src/main/resources/camel-config-xml.xml
index ecdeed7..56149e5 100755
--- a/examples/camel-example-swagger-java/src/main/resources/camel-config-xml.xml
+++ b/examples/camel-example-swagger-java/src/main/resources/camel-config-xml.xml
@@ -35,7 +35,7 @@
          knows the url to the REST services.
          Notice: This is optional, but needed if the RestRegistry should enlist accurate information.
          You can access the RestRegistry from JMX at runtime -->
-    <restConfiguration component="servlet" bindingMode="json" contextPath="camel-example-servlet-rest-tomcat/rest" port="8080">
+    <restConfiguration component="servlet" bindingMode="json" contextPath="camel-example-swagger-java/rest" port="8080">
       <dataFormatProperty key="prettyPrint" value="true"/>
     </restConfiguration>