org.apache.camel.component.twitter.consumer.streaming
Class SampleConsumer

java.lang.Object
  extended by org.apache.camel.component.twitter.consumer.Twitter4JConsumer
      extended by org.apache.camel.component.twitter.consumer.streaming.StreamingConsumer
          extended by org.apache.camel.component.twitter.consumer.streaming.SampleConsumer
All Implemented Interfaces:
twitter4j.StatusListener

public class SampleConsumer
extends StreamingConsumer

Consumes the sample stream


Field Summary
 
Fields inherited from class org.apache.camel.component.twitter.consumer.streaming.StreamingConsumer
twitterStream
 
Fields inherited from class org.apache.camel.component.twitter.consumer.Twitter4JConsumer
lastId, te
 
Constructor Summary
SampleConsumer(TwitterEndpoint te)
           
 
Method Summary
 void onStallWarning(twitter4j.StallWarning stallWarning)
           
protected  void startStreaming()
           
 
Methods inherited from class org.apache.camel.component.twitter.consumer.streaming.StreamingConsumer
directConsume, doStart, doStop, onDeletionNotice, onException, onScrubGeo, onStatus, onTrackLimitationNotice, pollConsume, registerTweetListener, unregisterTweetListener
 
Methods inherited from class org.apache.camel.component.twitter.consumer.Twitter4JConsumer
checkLastId, setLastId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleConsumer

public SampleConsumer(TwitterEndpoint te)
Method Detail

startStreaming

protected void startStreaming()
Specified by:
startStreaming in class StreamingConsumer

onStallWarning

public void onStallWarning(twitter4j.StallWarning stallWarning)


Apache Camel