Class RetweetsConsumerHandler

    • Constructor Detail

      • RetweetsConsumerHandler

        public RetweetsConsumerHandler​(TwitterEndpoint endpoint)
    • Method Detail

      • doPoll

        protected List<twitter4j.Status> doPoll()
                                         throws twitter4j.TwitterException
        Throws:
        twitter4j.TwitterException
      • doDirect

        protected List<twitter4j.Status> doDirect()
                                           throws twitter4j.TwitterException
        Throws:
        twitter4j.TwitterException
      • pollConsume

        public List<org.apache.camel.Exchange> pollConsume()
                                                    throws twitter4j.TwitterException
        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 class AbstractTwitterConsumerHandler
        Throws:
        twitter4j.TwitterException