public abstract class AbstractTwitterEndpoint extends org.apache.camel.support.DefaultPollingEndpoint implements TwitterEndpoint
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_CONSUMER_DELAY |
| 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() |
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) |
configureProperties, configureScheduledPollConsumerProperties, doConfigureConsumer, doStart, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDefaultDelay, getDelay, getInitialDelay, getPollStrategy, getRepeatCount, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, isGreedy, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setGreedy, setInitialDelay, setPollStrategy, setRepeatCount, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelayconfigureExchange, configurePollingConsumer, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isPollingConsumerCopy, isSingleton, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerCopy, setPollingConsumerQueueSize, setProperties, toStringbuild, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, waitconfigureExchange, configureProperties, createAsyncProducer, createConsumer, createExchange, createExchange, createPollingConsumer, createProducer, getCamelContext, getEndpointBaseUri, getEndpointKey, getEndpointUri, isLenientProperties, isSingletonProducer, setCamelContextpublic static final long DEFAULT_CONSUMER_DELAY
public AbstractTwitterEndpoint(String uri, AbstractTwitterComponent component, TwitterConfiguration properties)
protected void doStop()
throws Exception
doStop in class org.apache.camel.support.ScheduledPollEndpointExceptionpublic void configureConsumer(org.apache.camel.Consumer consumer)
throws Exception
configureConsumer in class org.apache.camel.support.ScheduledPollEndpointExceptionpublic TwitterConfiguration getProperties()
getProperties in interface TwitterEndpointpublic 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 TwitterEndpointpublic void setDelay(long delay)
setDelay in class org.apache.camel.support.ScheduledPollEndpointApache Camel