public abstract class AbstractTwitterComponent
extends org.apache.camel.impl.DefaultComponent
implements org.apache.camel.VerifiableComponent
Modifier | Constructor and Description |
---|---|
protected |
AbstractTwitterComponent(org.apache.camel.CamelContext context,
String componentVerifierScheme) |
protected |
AbstractTwitterComponent(String componentVerifierScheme) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
protected abstract org.apache.camel.Endpoint |
doCreateEndpoint(TwitterConfiguration properties,
String uri,
String remaining,
Map<String,Object> parameters) |
String |
getAccessToken() |
String |
getAccessTokenSecret() |
String |
getConsumerKey() |
String |
getConsumerSecret() |
String |
getHttpProxyHost() |
String |
getHttpProxyPassword() |
Integer |
getHttpProxyPort() |
String |
getHttpProxyUser() |
org.apache.camel.ComponentVerifier |
getVerifier()
Get a verifier for the component.
|
void |
setAccessToken(String accessToken)
The access token
|
void |
setAccessTokenSecret(String accessTokenSecret)
The access token secret
|
void |
setConsumerKey(String consumerKey)
The consumer key
|
void |
setConsumerSecret(String consumerSecret)
The consumer secret
|
void |
setHttpProxyHost(String httpProxyHost)
The http proxy host which can be used for the camel-twitter.
|
void |
setHttpProxyPassword(String httpProxyPassword)
The http proxy password which can be used for the camel-twitter.
|
void |
setHttpProxyPort(int httpProxyPort)
The http proxy port which can be used for the camel-twitter.
|
void |
setHttpProxyUser(String httpProxyUser)
The http proxy user which can be used for the camel-twitter.
|
afterConfiguration, createComponentConfiguration, createConfiguration, createEndpoint, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isResolvePropertyPlaceholders, preProcessUri, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, setResolvePropertyPlaceholders, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
protected AbstractTwitterComponent(String componentVerifierScheme)
protected AbstractTwitterComponent(org.apache.camel.CamelContext context, String componentVerifierScheme)
protected org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint
in class org.apache.camel.impl.DefaultComponent
Exception
protected abstract org.apache.camel.Endpoint doCreateEndpoint(TwitterConfiguration properties, String uri, String remaining, Map<String,Object> parameters) throws Exception
Exception
public String getAccessToken()
public void setAccessToken(String accessToken)
public String getAccessTokenSecret()
public void setAccessTokenSecret(String accessTokenSecret)
public String getConsumerKey()
public void setConsumerKey(String consumerKey)
public String getConsumerSecret()
public void setConsumerSecret(String consumerSecret)
public void setHttpProxyHost(String httpProxyHost)
public String getHttpProxyHost()
public void setHttpProxyUser(String httpProxyUser)
public String getHttpProxyUser()
public void setHttpProxyPassword(String httpProxyPassword)
public String getHttpProxyPassword()
public void setHttpProxyPort(int httpProxyPort)
public Integer getHttpProxyPort()
public org.apache.camel.ComponentVerifier getVerifier()
getVerifier
in interface org.apache.camel.VerifiableComponent
Apache Camel