@UriEndpoint(firstVersion="2.12.0",
scheme="geocoder",
title="Geocoder",
syntax="geocoder:address:latlng",
producerOnly=true,
label="api,location")
public class GeoCoderEndpoint
extends org.apache.camel.impl.DefaultEndpoint
Constructor and Description |
---|
GeoCoderEndpoint() |
GeoCoderEndpoint(String uri,
GeoCoderComponent component) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
String |
getAddress() |
String |
getClientId() |
String |
getClientKey() |
String |
getLanguage() |
String |
getLatlng() |
String |
getProxyAuthDomain() |
String |
getProxyAuthHost() |
String |
getProxyAuthMethod() |
String |
getProxyAuthPassword() |
String |
getProxyAuthUsername() |
int |
getProxyPort() |
boolean |
isHeadersOnly() |
boolean |
isSingleton() |
void |
setAddress(String address)
The geo address which should be prefixed with address:
|
void |
setApiKey(String apiKey)
To use google apiKey
|
void |
setClientId(String clientId)
To use google premium with this client id
|
void |
setClientKey(String clientKey)
To use google premium with this client key
|
void |
setHeadersOnly(boolean headersOnly)
Whether to only enrich the Exchange with headers, and leave the body as-is.
|
void |
setLanguage(String language)
The language to use.
|
void |
setLatlng(String latlng)
The geo latitude and longitude which should be prefixed with latlng:
|
void |
setProxyAuthDomain(String proxyAuthDomain)
Domain for proxy NTML authentication
|
void |
setProxyAuthHost(String proxyAuthHost)
Optional host for proxy NTML authentication
|
void |
setProxyAuthMethod(String proxyAuthMethod)
Authentication method for proxy, either as Basic, Digest or NTLM.
|
void |
setProxyAuthPassword(String proxyAuthPassword)
Password for proxy authentication
|
void |
setProxyAuthUsername(String proxyAuthUsername)
Username for proxy authentication
|
void |
setProxyHost(String proxyHost)
The proxy host name
|
void |
setProxyPort(int proxyPort)
The proxy port number
|
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, 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
public GeoCoderEndpoint()
public GeoCoderEndpoint(String uri, GeoCoderComponent component)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
public boolean isSingleton()
public String getLanguage()
public void setLanguage(String language)
public String getAddress()
public void setAddress(String address)
public String getLatlng()
public void setLatlng(String latlng)
public boolean isHeadersOnly()
public void setHeadersOnly(boolean headersOnly)
public String getClientId()
public void setClientId(String clientId)
public String getClientKey()
public void setClientKey(String clientKey)
public void setApiKey(String apiKey)
public void setProxyHost(String proxyHost)
public int getProxyPort()
public void setProxyPort(int proxyPort)
public String getProxyAuthMethod()
public void setProxyAuthMethod(String proxyAuthMethod)
public String getProxyAuthUsername()
public void setProxyAuthUsername(String proxyAuthUsername)
public String getProxyAuthPassword()
public void setProxyAuthPassword(String proxyAuthPassword)
public String getProxyAuthDomain()
public void setProxyAuthDomain(String proxyAuthDomain)
public String getProxyAuthHost()
public void setProxyAuthHost(String proxyAuthHost)
Apache Camel