|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.camel.builder.BuilderSupport
org.apache.camel.builder.RouteBuilder
org.apache.camel.example.websocket.TwitterWebSocketRoute
public class TwitterWebSocketRoute
A Camel route that updates from twitter all tweets using having the search term. And post the changes to web-socket, that can be viewed from a web page
| Field Summary |
|---|
| Fields inherited from class org.apache.camel.builder.RouteBuilder |
|---|
log |
| Constructor Summary | |
|---|---|
TwitterWebSocketRoute()
|
|
| Method Summary | |
|---|---|
void |
configure()
|
String |
getAccessToken()
|
String |
getAccessTokenSecret()
|
String |
getConsumerKey()
|
String |
getConsumerSecret()
|
int |
getDelay()
|
int |
getPort()
|
String |
getSearchTerm()
|
void |
setAccessToken(String accessToken)
|
void |
setAccessTokenSecret(String accessTokenSecret)
|
void |
setConsumerKey(String consumerKey)
|
void |
setConsumerSecret(String consumerSecret)
|
void |
setDelay(int delay)
|
void |
setPort(int port)
|
void |
setSearchTerm(String searchTerm)
|
| Methods inherited from class org.apache.camel.builder.RouteBuilder |
|---|
addRoutes, addRoutesToCamelContext, checkInitialized, configureRoute, configureRoutes, createContainer, errorHandler, from, from, from, from, fromF, getContext, getRouteCollection, includeRoutes, intercept, interceptFrom, interceptFrom, interceptSendToEndpoint, onCompletion, onException, onException, populateRoutes, setErrorHandlerBuilder, setRouteCollection, toString |
| Methods inherited from class org.apache.camel.builder.BuilderSupport |
|---|
bean, bean, bean, bean, body, body, constant, createErrorHandlerBuilder, deadLetterChannel, deadLetterChannel, defaultErrorHandler, endpoint, endpoint, endpoints, endpoints, exceptionMessage, faultBody, faultBodyAs, getErrorHandlerBuilder, header, loggingErrorHandler, loggingErrorHandler, loggingErrorHandler, loggingErrorHandler, method, method, method, method, noErrorHandler, outBody, outBody, property, regexReplaceAll, regexReplaceAll, sendTo, setContext, setContext, simple, simple, systemProperty, systemProperty, xpath |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TwitterWebSocketRoute()
| Method Detail |
|---|
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 int getDelay()
public void setDelay(int delay)
public String getSearchTerm()
public void setSearchTerm(String searchTerm)
public int getPort()
public void setPort(int port)
public void configure()
throws Exception
configure in class org.apache.camel.builder.RouteBuilderException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||