camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hadr...@apache.org
Subject svn commit: r1359674 - /camel/trunk/examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/TwitterWebSocketRoute.java
Date Tue, 10 Jul 2012 13:57:29 GMT
Author: hadrian
Date: Tue Jul 10 13:57:29 2012
New Revision: 1359674

URL: http://svn.apache.org/viewvc?rev=1359674&view=rev
Log:
Fix build failure due to changes in the camel-twitter component

Modified:
    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/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=1359674&r1=1359673&r2=1359674&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
Tue Jul 10 13:57:29 2012
@@ -98,13 +98,6 @@ public class TwitterWebSocketRoute exten
         // we can serve static resources from the classpath: or file: system
         wc.setStaticResources("classpath:.");
 
-        // setup Twitter component
-        TwitterComponent tc = getContext().getComponent("twitter", TwitterComponent.class);
-        tc.setAccessToken(accessToken);
-        tc.setAccessTokenSecret(accessTokenSecret);
-        tc.setConsumerKey(consumerKey);
-        tc.setConsumerSecret(consumerSecret);
-
         // poll twitter search for new tweets
         fromF("twitter://search?type=polling&delay=%s&keywords=%s", delay, searchTerm)
             // and push tweets to all web socket subscribers on camel-tweet



Mime
View raw message