@Deprecated @ManagedResource(description="Managed Twitter Endpoint") @UriEndpoint(firstVersion="2.10.0", scheme="twitter", title="Twitter", syntax="twitter:kind", consumerClass=AbstractTwitterConsumerHandler.class, label="api,social") public class TwitterEndpointPolling extends org.apache.camel.impl.DefaultPollingEndpoint implements CommonPropertiesTwitterEndpoint
Constructor and Description |
---|
TwitterEndpointPolling(String uri,
String remaining,
TwitterComponent component,
TwitterConfiguration properties)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor)
Deprecated.
|
org.apache.camel.Producer |
createProducer()
Deprecated.
|
Integer |
getCount()
Deprecated.
|
EndpointType |
getEndpointType()
Deprecated.
|
String |
getKeywords()
Deprecated.
|
String |
getLang()
Deprecated.
|
String |
getLocations()
Deprecated.
|
Integer |
getNumberOfPages()
Deprecated.
|
TwitterConfiguration |
getProperties()
Deprecated.
|
long |
getSinceId()
Deprecated.
|
String |
getUser()
Deprecated.
|
boolean |
isFilterOld()
Deprecated.
|
boolean |
isSingleton()
Deprecated.
|
boolean |
isSortById()
Deprecated.
|
void |
setCount(Integer count)
Deprecated.
|
void |
setDelay(long delay)
Deprecated.
Milliseconds before the next poll.
|
void |
setFilterOld(boolean filterOld)
Deprecated.
|
void |
setKeywords(String keywords)
Deprecated.
|
void |
setLang(String lang)
Deprecated.
|
void |
setLocations(String locations)
Deprecated.
|
void |
setNumberOfPages(Integer numberOfPages)
Deprecated.
|
void |
setProperties(TwitterConfiguration properties)
Deprecated.
|
void |
setSinceId(long sinceId)
Deprecated.
|
void |
setSortById(boolean sortById)
Deprecated.
|
void |
setUser(String user)
Deprecated.
|
configurePollingConsumer, configureProperties, configureScheduledPollConsumerProperties, doStart, doStop, 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
configureConsumer, 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 TwitterEndpointPolling(String uri, String remaining, TwitterComponent component, TwitterConfiguration properties)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
createConsumer
in interface org.apache.camel.Endpoint
createConsumer
in class org.apache.camel.impl.DefaultPollingEndpoint
Exception
public org.apache.camel.Producer createProducer() throws Exception
createProducer
in interface org.apache.camel.Endpoint
Exception
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 getUser()
getUser
in interface CommonPropertiesTwitterEndpoint
@ManagedAttribute public void setUser(String user)
setUser
in interface CommonPropertiesTwitterEndpoint
@ManagedAttribute public String getKeywords()
getKeywords
in interface CommonPropertiesTwitterEndpoint
@ManagedAttribute public void setKeywords(String keywords)
setKeywords
in interface CommonPropertiesTwitterEndpoint
@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()
@ManagedAttribute public boolean isSortById()
@ManagedAttribute public void setSortById(boolean sortById)
public EndpointType getEndpointType()
getEndpointType
in interface TwitterEndpoint
public void setDelay(long delay)
setDelay
in class org.apache.camel.impl.ScheduledPollEndpoint
Apache Camel