public abstract class AbstractTwitterEndpoint extends org.apache.camel.impl.DefaultPollingEndpoint implements TwitterEndpoint
Constructor and Description |
---|
AbstractTwitterEndpoint(String uri,
AbstractTwitterComponent component,
TwitterConfiguration properties) |
Modifier and Type | Method and Description |
---|---|
void |
configureConsumer(org.apache.camel.Consumer consumer) |
protected void |
doStop() |
Integer |
getCount() |
EndpointType |
getEndpointType() |
String |
getLang() |
String |
getLocations() |
Integer |
getNumberOfPages() |
TwitterConfiguration |
getProperties() |
long |
getSinceId() |
boolean |
isFilterOld() |
boolean |
isSingleton() |
void |
setCount(Integer count) |
void |
setDelay(long delay)
Milliseconds before the next poll.
|
void |
setFilterOld(boolean filterOld) |
void |
setLang(String lang) |
void |
setLocations(String locations) |
void |
setNumberOfPages(Integer numberOfPages) |
void |
setProperties(TwitterConfiguration properties) |
void |
setSinceId(long sinceId) |
configurePollingConsumer, configureProperties, configureScheduledPollConsumerProperties, doStart, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDelay, getInitialDelay, getPollStrategy, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, initConsumerProperties, isGreedy, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setGreedy, setInitialDelay, setPollStrategy, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelay
createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public AbstractTwitterEndpoint(String uri, AbstractTwitterComponent component, TwitterConfiguration properties)
protected void doStop() throws Exception
doStop
in class org.apache.camel.impl.ScheduledPollEndpoint
Exception
public void configureConsumer(org.apache.camel.Consumer consumer) throws Exception
configureConsumer
in class org.apache.camel.impl.DefaultEndpoint
Exception
@ManagedAttribute public boolean isSingleton()
isSingleton
in interface org.apache.camel.IsSingleton
public TwitterConfiguration getProperties()
getProperties
in interface TwitterEndpoint
public void setProperties(TwitterConfiguration properties)
@ManagedAttribute public String getLocations()
@ManagedAttribute public void setLocations(String locations)
@ManagedAttribute public void setFilterOld(boolean filterOld)
@ManagedAttribute public boolean isFilterOld()
@ManagedAttribute public void setSinceId(long sinceId)
@ManagedAttribute public long getSinceId()
@ManagedAttribute public void setLang(String lang)
@ManagedAttribute public String getLang()
@ManagedAttribute public void setCount(Integer count)
@ManagedAttribute public Integer getCount()
@ManagedAttribute public void setNumberOfPages(Integer numberOfPages)
@ManagedAttribute public Integer getNumberOfPages()
public EndpointType getEndpointType()
getEndpointType
in interface TwitterEndpoint
public void setDelay(long delay)
setDelay
in class org.apache.camel.impl.ScheduledPollEndpoint
Apache Camel