@UriEndpoint(scheme="geocoder", title="Geocoder", syntax="geocoder:address:latlng", producerOnly=true, label="api,location") public class GeoCoderEndpoint extends DefaultEndpoint
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
Constructor and Description |
---|
GeoCoderEndpoint() |
GeoCoderEndpoint(String uri,
GeoCoderComponent component) |
Modifier and Type | Method and Description |
---|---|
Consumer |
createConsumer(Processor processor)
Creates a new Event
Driven Consumer which consumes messages from the endpoint using the
given processor
|
Producer |
createProducer()
Creates a new producer which is used send messages into the endpoint
|
String |
getAddress() |
String |
getClientId() |
String |
getClientKey() |
String |
getLanguage() |
String |
getLatlng() |
boolean |
isHeadersOnly() |
boolean |
isSingleton()
Whether this class supports being singleton or not.
|
void |
setAddress(String address) |
void |
setClientId(String clientId) |
void |
setClientKey(String clientKey) |
void |
setHeadersOnly(boolean headersOnly) |
void |
setLanguage(String language) |
void |
setLatlng(String latlng) |
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, getPollingConsumerQueueSize, hashCode, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
public GeoCoderEndpoint()
public GeoCoderEndpoint(String uri, GeoCoderComponent component)
public Producer createProducer() throws Exception
Endpoint
Exception
- can be thrownpublic Consumer createConsumer(Processor processor) throws Exception
Endpoint
processor
- the given processorException
- can be thrownpublic boolean isSingleton()
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)
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.