Author: davsclaus
Date: Wed Jan  2 12:40:08 2013
New Revision: 1427771

URL: http://svn.apache.org/viewvc?rev=1427771&view=rev
Log:
Polished

Modified:
    
camel/trunk/examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/CamelTwitterWebSocketMain.java
    
camel/trunk/examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/TwitterWebSocketRoute.java

Modified: 
camel/trunk/examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/CamelTwitterWebSocketMain.java
URL: 
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/CamelTwitterWebSocketMain.java?rev=1427771&r1=1427770&r2=1427771&view=diff
==============================================================================
--- 
camel/trunk/examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/CamelTwitterWebSocketMain.java
 (original)
+++ 
camel/trunk/examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/CamelTwitterWebSocketMain.java
 Wed Jan  2 12:40:08 2013
@@ -42,7 +42,7 @@ public final class CamelTwitterWebSocket
     public static void main(String[] args) throws Exception {
         System.out.println("\n\n\n\n");
         System.out.println("===============================================");
-        System.out.println("Open your web browser on http://localhost:9090";);
+        System.out.println("Open your web browser on 
http://localhost:9090/index.html";);
         System.out.println("Press ctrl+c to stop this example");
         System.out.println("===============================================");
         System.out.println("\n\n\n\n");

Modified: 
camel/trunk/examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/TwitterWebSocketRoute.java
URL: 
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/TwitterWebSocketRoute.java?rev=1427771&r1=1427770&r2=1427771&view=diff
==============================================================================
--- 
camel/trunk/examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/TwitterWebSocketRoute.java
 (original)
+++ 
camel/trunk/examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/TwitterWebSocketRoute.java
 Wed Jan  2 12:40:08 2013
@@ -107,6 +107,7 @@ public class TwitterWebSocketRoute exten
 
         // poll twitter search for new tweets
         fromF("twitter://search?type=polling&delay=%s&keywords=%s", delay, 
searchTerm)
+            .to("log:tweet")
             // and push tweets to all web socket subscribers on camel-tweet
             .to("websocket:camel-tweet?sendToAll=true");
     }


Reply via email to