@UriEndpoint(scheme="twitter",
consumerClass=Twitter4JConsumer.class)
public class TwitterEndpointDirect
extends org.apache.camel.component.direct.DirectEndpoint
implements TwitterEndpoint
| Constructor and Description |
|---|
TwitterEndpointDirect(String uri,
TwitterComponent component,
TwitterConfiguration properties) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
String |
getCamelId() |
String |
getCamelManagementName() |
Integer |
getCount() |
String |
getDate() |
EndpointType |
getEndpointType() |
String |
getEndpointUri() |
org.apache.camel.ExchangePattern |
getExchangePattern() |
String |
getKeywords() |
String |
getLang() |
String |
getLocations() |
Integer |
getNumberOfPages() |
TwitterConfiguration |
getProperties() |
long |
getSinceId() |
String |
getState() |
boolean |
isFilterOld() |
boolean |
isSingleton() |
void |
setCount(Integer count) |
void |
setDate(String date) |
void |
setFilterOld(boolean filterOld) |
void |
setKeywords(String keywords) |
void |
setLang(String lang) |
void |
setLocations(String locations) |
void |
setNumberOfPages(Integer numberOfPages) |
void |
setProperties(TwitterConfiguration properties) |
void |
setSinceId(long sinceId) |
addConsumer, getConsumer, getKey, getTimeout, hasConsumer, isBlock, removeConsumer, setBlock, setTimeoutconfigureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getId, getPollingConsumerQueueSize, hashCode, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic TwitterEndpointDirect(String uri, TwitterComponent component, TwitterConfiguration properties)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
createConsumer in interface org.apache.camel.EndpointcreateConsumer in class org.apache.camel.component.direct.DirectEndpointExceptionpublic org.apache.camel.Producer createProducer()
throws Exception
createProducer in interface org.apache.camel.EndpointcreateProducer in class org.apache.camel.component.direct.DirectEndpointException@ManagedAttribute public boolean isSingleton()
isSingleton in interface org.apache.camel.IsSingletonisSingleton in class org.apache.camel.component.direct.DirectEndpointpublic TwitterConfiguration getProperties()
getProperties in interface TwitterEndpointpublic void setProperties(TwitterConfiguration properties)
@ManagedAttribute(description="Camel ID") public String getCamelId()
@ManagedAttribute(description="Camel ManagementName") public String getCamelManagementName()
@ManagedAttribute(description="Endpoint Uri",
mask=true)
public String getEndpointUri()
getEndpointUri in interface org.apache.camel.EndpointgetEndpointUri in class org.apache.camel.impl.DefaultEndpoint@ManagedAttribute(description="Service State") public String getState()
@ManagedAttribute public String getKeywords()
@ManagedAttribute public void setKeywords(String keywords)
@ManagedAttribute public String getLocations()
@ManagedAttribute public void setLocations(String locations)
@ManagedAttribute public void setFilterOld(boolean filterOld)
@ManagedAttribute public boolean isFilterOld()
@ManagedAttribute public void setDate(String date)
@ManagedAttribute public String getDate()
@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 org.apache.camel.ExchangePattern getExchangePattern()
getExchangePattern in class org.apache.camel.impl.DefaultEndpointApache Camel