camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r905170 - /camel/trunk/examples/camel-example-reportincident/src/main/java/org/apache/camel/example/reportincident/ReportIncidentRoutes.java
Date Mon, 01 Feb 2010 02:14:52 GMT
Author: ningjiang
Date: Mon Feb  1 02:14:51 2010
New Revision: 905170

URL: http://svn.apache.org/viewvc?rev=905170&view=rev
Log:
CAMEL-2430 Fixed the mvn jetty:run issue of camel-example-reportincident

Modified:
    camel/trunk/examples/camel-example-reportincident/src/main/java/org/apache/camel/example/reportincident/ReportIncidentRoutes.java

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=905170&r1=905169&r2=905170&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  1 02:14:51 2010
@@ -41,13 +41,14 @@
 
         // endpoint to our CXF webservice  
         // We should use the related path to publish the service, when using the ServletTransport
-        String cxfEndpointAddress = "cxf:/incident";
+        // so we need to configure set the bus which is configured to use the ServletTranspot
+        String cxfEndpointAddress = "cxf:/incident?bus=#cxf&";
         // Using the full http address for stand alone running
         if (!usingServletTransport) {
-            cxfEndpointAddress = "cxf://http://localhost:9080/camel-example-reportincident/webservices/incident";
+            cxfEndpointAddress = "cxf://http://localhost:9080/camel-example-reportincident/webservices/incident?";
         }
         String cxfEndpoint = cxfEndpointAddress
-                + "?serviceClass=org.apache.camel.example.reportincident.ReportIncidentEndpoint"
+                + "serviceClass=org.apache.camel.example.reportincident.ReportIncidentEndpoint"
                 + "&wsdlURL=etc/report_incident.wsdl";
 
         // first part from the webservice -> file backup



Mime
View raw message