Spring Integration

org.springframework.integration.twitter
Class InboundUpdatedStatusEndpoint

java.lang.Object
  extended by org.springframework.integration.context.IntegrationObjectSupport
      extended by org.springframework.integration.endpoint.AbstractEndpoint
          extended by org.springframework.integration.twitter.AbstractInboundTwitterEndpointSupport<twitter4j.Status>
              extended by org.springframework.integration.twitter.AbstractInboundTwitterStatusEndpointSupport
                  extended by org.springframework.integration.twitter.InboundUpdatedStatusEndpoint
All Implemented Interfaces:
BeanFactoryAware, BeanNameAware, InitializingBean, Lifecycle, Phased, SmartLifecycle, NamedComponent

public class InboundUpdatedStatusEndpoint
extends AbstractInboundTwitterStatusEndpointSupport

This MessageSource lets Spring Integration consume a given account's timeline as messages. It has support for dynamic throttling of API requests.

Since:
2.0
Author:
Josh Long

Nested Class Summary
 
Nested classes/interfaces inherited from class org.springframework.integration.twitter.AbstractInboundTwitterEndpointSupport
AbstractInboundTwitterEndpointSupport.ApiCallback<C>
 
Field Summary
 
Fields inherited from class org.springframework.integration.twitter.AbstractInboundTwitterEndpointSupport
configuration, markerId, messagingTemplate, twitter
 
Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport
logger
 
Constructor Summary
InboundUpdatedStatusEndpoint()
           
 
Method Summary
protected  void refresh()
           
 
Methods inherited from class org.springframework.integration.twitter.AbstractInboundTwitterStatusEndpointSupport
markLastStatusId, sort
 
Methods inherited from class org.springframework.integration.twitter.AbstractInboundTwitterEndpointSupport
doStart, doStop, forward, forwardAll, getMarkerId, handleReceivingRateLimitStatus, hasMarkedStatus, onInit, runAsAPIRateLimitsPermit, setConfiguration, setRequestChannel, waitUntilPullAvailable
 
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, getComponentType, getConversionService, getRequiredMetadataPersister, 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.context.Lifecycle
isRunning, start, stop
 

Constructor Detail

InboundUpdatedStatusEndpoint

public InboundUpdatedStatusEndpoint()
Method Detail

refresh

protected void refresh()
                throws Exception
Specified by:
refresh in class AbstractInboundTwitterEndpointSupport<twitter4j.Status>
Throws:
Exception

Spring Integration

Copyright © 2010. All Rights Reserved.