You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2009/02/02 03:26:38 UTC

svn commit: r739906 - in /camel/trunk/examples: camel-example-pojo-messaging/ camel-example-reportincident/ camel-example-reportincident/src/main/java/org/apache/camel/example/reportincident/ camel-example-reportincident/src/main/resources/ camel-examp...

Author: ningjiang
Date: Mon Feb  2 02:26:38 2009
New Revision: 739906

URL: http://svn.apache.org/viewvc?rev=739906&view=rev
Log:
Changed the report_incident service port number to avoid the port confliction of the CI windows box, also fix a CS error of camel-example-spring-jms

Modified:
    camel/trunk/examples/camel-example-pojo-messaging/   (props changed)
    camel/trunk/examples/camel-example-reportincident/README.txt
    camel/trunk/examples/camel-example-reportincident/src/main/java/org/apache/camel/example/reportincident/ReportIncidentRoutes.java
    camel/trunk/examples/camel-example-reportincident/src/main/resources/report_incident.wsdl
    camel/trunk/examples/camel-example-reportincident/src/test/java/org/apache/camel/example/reportincident/ReportIncidentRoutesTest.java
    camel/trunk/examples/camel-example-spring-jms/src/main/java/org/apache/camel/example/server/GracefulShutdownService.java

Propchange: camel/trunk/examples/camel-example-pojo-messaging/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Mon Feb  2 02:26:38 2009
@@ -0,0 +1,7 @@
+.project
+.pmd
+.checkstyle
+.classpath
+target
+.settings
+eclipse-classes

Modified: camel/trunk/examples/camel-example-reportincident/README.txt
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-reportincident/README.txt?rev=739906&r1=739905&r2=739906&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-reportincident/README.txt (original)
+++ camel/trunk/examples/camel-example-reportincident/README.txt Mon Feb  2 02:26:38 2009
@@ -14,7 +14,7 @@
   mvn jetty:run
 
 The webservice is exposed at:
-  http://localhost:8080/reportincident/webservice/incident
+  http://localhost:9080/reportincident/webservice/incident
 
 
 To run the example with Ant
@@ -42,7 +42,7 @@
     ant run
 
 The webservice is exposed at:
-  http://localhost:8080/reportincident/webservice/incident
+  http://localhost:9080/reportincident/webservice/incident
 
 
 To stop the example hit ctrl + c

Modified: camel/trunk/examples/camel-example-reportincident/src/main/java/org/apache/camel/example/reportincident/ReportIncidentRoutes.java
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-reportincident/src/main/java/org/apache/camel/example/reportincident/ReportIncidentRoutes.java?rev=739906&r1=739905&r2=739906&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-reportincident/src/main/java/org/apache/camel/example/reportincident/ReportIncidentRoutes.java (original)
+++ camel/trunk/examples/camel-example-reportincident/src/main/java/org/apache/camel/example/reportincident/ReportIncidentRoutes.java Mon Feb  2 02:26:38 2009
@@ -33,7 +33,7 @@
         ok.setCode("0");
 
         // endpoint to our CXF webservice
-        String cxfEndpoint = "cxf://http://localhost:8080/reportincident/webservices/incident"
+        String cxfEndpoint = "cxf://http://localhost:9080/reportincident/webservices/incident"
                 + "?serviceClass=org.apache.camel.example.reportincident.ReportIncidentEndpoint"
                 + "&wsdlURL=report_incident.wsdl";
 

Modified: camel/trunk/examples/camel-example-reportincident/src/main/resources/report_incident.wsdl
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-reportincident/src/main/resources/report_incident.wsdl?rev=739906&r1=739905&r2=739906&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-reportincident/src/main/resources/report_incident.wsdl (original)
+++ camel/trunk/examples/camel-example-reportincident/src/main/resources/report_incident.wsdl Mon Feb  2 02:26:38 2009
@@ -85,7 +85,7 @@
     <!-- Service definition -->
     <wsdl:service name="ReportIncidentEndpointService">
         <wsdl:port name="ReportIncidentService" binding="tns:ReportIncidentBinding">
-            <soap:address location="http://localhost:8080/part-five/webservices/incident"/>
+            <soap:address location="http://localhost:9080/part-five/webservices/incident"/>
         </wsdl:port>
     </wsdl:service>
 

Modified: camel/trunk/examples/camel-example-reportincident/src/test/java/org/apache/camel/example/reportincident/ReportIncidentRoutesTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-reportincident/src/test/java/org/apache/camel/example/reportincident/ReportIncidentRoutesTest.java?rev=739906&r1=739905&r2=739906&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-reportincident/src/test/java/org/apache/camel/example/reportincident/ReportIncidentRoutesTest.java (original)
+++ camel/trunk/examples/camel-example-reportincident/src/test/java/org/apache/camel/example/reportincident/ReportIncidentRoutesTest.java Mon Feb  2 02:26:38 2009
@@ -28,7 +28,7 @@
 public class ReportIncidentRoutesTest extends TestCase {
 
     // should be the same address as we have in our route
-    private static final String URL = "http://localhost:8080/reportincident/webservices/incident";
+    private static final String URL = "http://localhost:9080/reportincident/webservices/incident";
 
     private CamelContext camel;
 

Modified: camel/trunk/examples/camel-example-spring-jms/src/main/java/org/apache/camel/example/server/GracefulShutdownService.java
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-spring-jms/src/main/java/org/apache/camel/example/server/GracefulShutdownService.java?rev=739906&r1=739905&r2=739906&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-spring-jms/src/main/java/org/apache/camel/example/server/GracefulShutdownService.java (original)
+++ camel/trunk/examples/camel-example-spring-jms/src/main/java/org/apache/camel/example/server/GracefulShutdownService.java Mon Feb  2 02:26:38 2009
@@ -1,3 +1,19 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.camel.example.server;
 
 import org.apache.camel.spring.Main;