public class MentionsConsumerHandler extends AbstractTwitterConsumerHandler
endpoint, log
Constructor and Description |
---|
MentionsConsumerHandler(TwitterEndpoint endpoint) |
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, setLastIdIfGreater
public MentionsConsumerHandler(TwitterEndpoint endpoint)
protected List<twitter4j.Status> doPoll() throws twitter4j.TwitterException
twitter4j.TwitterException
protected List<twitter4j.Status> doDirect() throws twitter4j.TwitterException
twitter4j.TwitterException
public List<org.apache.camel.Exchange> pollConsume() throws twitter4j.TwitterException
AbstractTwitterConsumerHandler
pollConsume
in class AbstractTwitterConsumerHandler
twitter4j.TwitterException
public List<org.apache.camel.Exchange> directConsume() throws twitter4j.TwitterException
AbstractTwitterConsumerHandler
directConsume
in class AbstractTwitterConsumerHandler
twitter4j.TwitterException
Apache Camel