public class UserListConsumerHandler extends AbstractTwitterConsumerHandler
endpoint, log| Constructor and Description |
|---|
UserListConsumerHandler(TwitterEndpoint endpoint,
String user,
String list) |
| Modifier and Type | Method and Description |
|---|---|
List<org.apache.camel.Exchange> |
directConsume()
Called by direct consumers.
|
protected List<twitter4j.Status> |
doDirect() |
protected List<twitter4j.Status> |
doPoll() |
List<org.apache.camel.Exchange> |
pollConsume()
Called by polling consumers during each poll.
|
getLastId, getLastIdPaging, getTwitter, setLastId, setLastIdIfGreaterpublic UserListConsumerHandler(TwitterEndpoint endpoint, String user, String list)
protected List<twitter4j.Status> doPoll() throws twitter4j.TwitterException
twitter4j.TwitterExceptionprotected List<twitter4j.Status> doDirect() throws twitter4j.TwitterException
twitter4j.TwitterExceptionpublic List<org.apache.camel.Exchange> pollConsume() throws twitter4j.TwitterException
AbstractTwitterConsumerHandlerpollConsume in class AbstractTwitterConsumerHandlertwitter4j.TwitterExceptionpublic List<org.apache.camel.Exchange> directConsume() throws twitter4j.TwitterException
AbstractTwitterConsumerHandlerdirectConsume in class AbstractTwitterConsumerHandlertwitter4j.TwitterExceptionApache Camel