org.apache.camel.component.twitter.consumer.search
Class SearchConsumer

java.lang.Object
  extended by org.apache.camel.component.twitter.consumer.Twitter4JConsumer
      extended by org.apache.camel.component.twitter.consumer.search.SearchConsumer

public class SearchConsumer
extends Twitter4JConsumer

Consumes search requests


Field Summary
 
Fields inherited from class org.apache.camel.component.twitter.consumer.Twitter4JConsumer
lastId
 
Constructor Summary
SearchConsumer(TwitterEndpoint te)
           
 
Method Summary
 List<twitter4j.Tweet> directConsume()
           
 List<twitter4j.Tweet> pollConsume()
           
 
Methods inherited from class org.apache.camel.component.twitter.consumer.Twitter4JConsumer
checkLastId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchConsumer

public SearchConsumer(TwitterEndpoint te)
Method Detail

pollConsume

public List<twitter4j.Tweet> pollConsume()
                                  throws twitter4j.TwitterException
Specified by:
pollConsume in class Twitter4JConsumer
Throws:
twitter4j.TwitterException

directConsume

public List<twitter4j.Tweet> directConsume()
                                    throws twitter4j.TwitterException
Specified by:
directConsume in class Twitter4JConsumer
Throws:
twitter4j.TwitterException


Apache CAMEL