camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [2/3] camel git commit: Lets not poll so frequent as it cause rate limiting
Date Tue, 17 Nov 2015 09:42:49 GMT
Lets not poll so frequent as it cause rate limiting


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/668d329a
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/668d329a
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/668d329a

Branch: refs/heads/camel-2.16.x
Commit: 668d329adb00391488164aeab776fb1d8fd1e741
Parents: 5e1c523
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Tue Nov 17 10:40:54 2015 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Tue Nov 17 10:46:20 2015 +0100

----------------------------------------------------------------------
 .../camel/example/websocket/CamelTwitterWebSocketMain.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/668d329a/examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/CamelTwitterWebSocketMain.java
----------------------------------------------------------------------
diff --git a/examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/CamelTwitterWebSocketMain.java
b/examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/CamelTwitterWebSocketMain.java
index b84dde2..827a8e9 100644
--- a/examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/CamelTwitterWebSocketMain.java
+++ b/examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/CamelTwitterWebSocketMain.java
@@ -61,9 +61,9 @@ public final class CamelTwitterWebSocketMain {
         route.setConsumerKey(consumerKey);
         route.setConsumerSecret(consumerSecret);
 
-        // poll for gaga, every 2nd second
+        // poll for gaga, every 5nd second
         route.setSearchTerm("gaga");
-        route.setDelay(2);
+        route.setDelay(5);
 
         // web socket on port 9090
         route.setPort(9090);


Mime
View raw message