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 17:44:05 UTC
[19/21] 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/560baa22
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/560baa22
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/560baa22
Branch: refs/heads/master
Commit: 560baa223eb268795f4d4a26b2df51287ab3d667
Parents: e2f5c9f
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:16:15 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/560baa22/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/560baa22/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>