org.springframework.integration.twitter.inbound
Class DirectMessageReceivingMessageSource

java.lang.Object
  extended by org.springframework.integration.context.IntegrationObjectSupport
      extended by org.springframework.integration.endpoint.AbstractEndpoint
          extended by org.springframework.integration.twitter.inbound.AbstractTwitterMessageSource<twitter4j.DirectMessage>
              extended by org.springframework.integration.twitter.inbound.DirectMessageReceivingMessageSource
All Implemented Interfaces:
BeanFactoryAware, BeanNameAware, InitializingBean, Lifecycle, Phased, SmartLifecycle, NamedComponent, MessageSource, TrackableComponent

public class DirectMessageReceivingMessageSource
extends AbstractTwitterMessageSource<twitter4j.DirectMessage>

This class handles support for receiving DMs (direct messages) using Twitter.

Since:
2.0

Field Summary
 
Fields inherited from class org.springframework.integration.twitter.inbound.AbstractTwitterMessageSource
configuration, markerId, prefetchThreshold, tweets, twitter
 
Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport
logger
 
Constructor Summary
DirectMessageReceivingMessageSource()
           
 
Method Summary
protected  java.util.Comparator getComparator()
           
 java.lang.String getComponentType()
          Subclasses may implement this method to provide component type information.
 
Methods inherited from class org.springframework.integration.twitter.inbound.AbstractTwitterMessageSource
doStart, doStop, forward, forwardAll, getMarkerId, hasMarkedStatus, markLastStatusId, onInit, receive, setConfiguration, setShouldTrack
 
Methods inherited from class org.springframework.integration.endpoint.AbstractEndpoint
getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stop
 
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport
afterPropertiesSet, getBeanFactory, getComponentName, getConversionService, getTaskScheduler, setBeanFactory, setBeanName, setComponentName, setConversionService, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.springframework.integration.context.NamedComponent
getComponentName
 

Constructor Detail

DirectMessageReceivingMessageSource

public DirectMessageReceivingMessageSource()
Method Detail

getComponentType

public java.lang.String getComponentType()
Description copied from class: IntegrationObjectSupport
Subclasses may implement this method to provide component type information.

Specified by:
getComponentType in interface NamedComponent
Overrides:
getComponentType in class IntegrationObjectSupport

getComparator

protected java.util.Comparator getComparator()
Overrides:
getComparator in class AbstractTwitterMessageSource<twitter4j.DirectMessage>