Class UserConsumerHandler
java.lang.Object
org.apache.camel.component.twitter.consumer.AbstractTwitterConsumerHandler
org.apache.camel.component.twitter.timeline.UserConsumerHandler
Consumes the timeline of a given user.
-
Field Summary
Fields inherited from class org.apache.camel.component.twitter.consumer.AbstractTwitterConsumerHandler
endpoint, log
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.camel.component.twitter.consumer.AbstractTwitterConsumerHandler
getLastId, getLastIdPaging, getTwitter, setLastId, setLastIdIfGreater
-
Constructor Details
-
UserConsumerHandler
-
-
Method Details
-
doPoll
- Throws:
twitter4j.TwitterException
-
doDirect
- Throws:
twitter4j.TwitterException
-
pollConsume
Description copied from class:AbstractTwitterConsumerHandler
Called by polling consumers during each poll. It needs to be separate from directConsume() since, as an example, to allow tweets to build up between polls.- Specified by:
pollConsume
in classAbstractTwitterConsumerHandler
- Throws:
twitter4j.TwitterException
-
directConsume
Description copied from class:AbstractTwitterConsumerHandler
Called by direct consumers.- Specified by:
directConsume
in classAbstractTwitterConsumerHandler
- Throws:
twitter4j.TwitterException
-