public class WeatherComponent
extends org.apache.camel.impl.UriEndpointComponent
| Constructor and Description |
|---|
WeatherComponent() |
WeatherComponent(org.apache.camel.CamelContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
String |
getGeolocationAccessKey() |
String |
getGeolocationRequestHostIP() |
org.apache.commons.httpclient.HttpClient |
getHttpClient() |
void |
setGeolocationAccessKey(String geolocationAccessKey)
The geolocation service now needs an accessKey to be used
|
void |
setGeolocationRequestHostIP(String geolocationRequestHostIP)
The geolocation service now needs to specify the IP associated to the
accessKey you're using
|
createComponentConfiguration, createParameterConfigurationMap, getEndpointClass, getParameterConfigurationMap, populateParameterConfigurationMap, setEndpointClassafterConfiguration, 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, validateURIpublic WeatherComponent()
public WeatherComponent(org.apache.camel.CamelContext context)
protected org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint in class org.apache.camel.impl.DefaultComponentExceptionpublic org.apache.commons.httpclient.HttpClient getHttpClient()
public String getGeolocationAccessKey()
public void setGeolocationAccessKey(String geolocationAccessKey)
public String getGeolocationRequestHostIP()
public void setGeolocationRequestHostIP(String geolocationRequestHostIP)
Apache Camel