camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r615767 - in /activemq/camel/trunk/examples/camel-example-cxf/src/main/java/org/apache/camel/example/camel/transport: CamelTransportExample.java GreeterImpl.java
Date Mon, 28 Jan 2008 08:51:58 GMT
Author: ningjiang
Date: Mon Jan 28 00:51:55 2008
New Revision: 615767

URL: http://svn.apache.org/viewvc?rev=615767&view=rev
Log:
Fixed some typo errors

Modified:
    activemq/camel/trunk/examples/camel-example-cxf/src/main/java/org/apache/camel/example/camel/transport/CamelTransportExample.java
    activemq/camel/trunk/examples/camel-example-cxf/src/main/java/org/apache/camel/example/camel/transport/GreeterImpl.java

Modified: activemq/camel/trunk/examples/camel-example-cxf/src/main/java/org/apache/camel/example/camel/transport/CamelTransportExample.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-cxf/src/main/java/org/apache/camel/example/camel/transport/CamelTransportExample.java?rev=615767&r1=615766&r2=615767&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-cxf/src/main/java/org/apache/camel/example/camel/transport/CamelTransportExample.java
(original)
+++ activemq/camel/trunk/examples/camel-example-cxf/src/main/java/org/apache/camel/example/camel/transport/CamelTransportExample.java
Mon Jan 28 00:51:55 2008
@@ -23,13 +23,13 @@
 
     public static void main(String args[]) throws Exception {
 
-        //Server server = new Server();
+        Server server = new Server();
 
         try {
             // setup the camel context for the camel transport
-            //server.prepare();
+            server.prepare();
             // start the endpoints
-            //server.start();
+            server.start();
             // set the client's service access point
             Client client = new Client("http://localhost:9090/GreeterContext/GreeterPort");
             // invoking the services
@@ -40,7 +40,7 @@
         } catch (Exception ex) {
             ex.printStackTrace();
         } finally {
-            //server.stop();
+            server.stop();
             System.exit(0);
         }
 

Modified: activemq/camel/trunk/examples/camel-example-cxf/src/main/java/org/apache/camel/example/camel/transport/GreeterImpl.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-cxf/src/main/java/org/apache/camel/example/camel/transport/GreeterImpl.java?rev=615767&r1=615766&r2=615767&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-cxf/src/main/java/org/apache/camel/example/camel/transport/GreeterImpl.java
(original)
+++ activemq/camel/trunk/examples/camel-example-cxf/src/main/java/org/apache/camel/example/camel/transport/GreeterImpl.java
Mon Jan 28 00:51:55 2008
@@ -61,7 +61,7 @@
     public String sayHi() {
         LOG.info("Executing operation sayHi");
         System.out.println("Executing operation sayHi\n");
-        return "Bonjour from" + suffix;
+        return "Bonjour from " + suffix;
     }
 
     public void pingMe(String messageIn) throws PingMeFault {
@@ -71,7 +71,7 @@
         LOG.info("Executing operation pingMe, throwing PingMeFault exception, message = "
                  + messageIn);
         System.out.println("Executing operation pingMe, throwing PingMeFault exception\n");
-        throw new PingMeFault("PingMeFault raised by server" + suffix, faultDetail);
+        throw new PingMeFault("PingMeFault raised by server " + suffix, faultDetail);
     }
 
 



Mime
View raw message