public class GeoCoderProducer
extends org.apache.camel.impl.DefaultProducer
| Constructor and Description |
|---|
GeoCoderProducer(GeoCoderEndpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
extractGeoResult(com.google.maps.model.GeocodingResult[] res,
org.apache.camel.Exchange exchange) |
void |
process(org.apache.camel.Exchange exchange) |
protected void |
processCurrentLocation(org.apache.camel.Exchange exchange)
Perform geolocation to retrieve LatLng and then perform a geocoding
|
createExchange, createExchange, createExchange, doStop, getEndpoint, isSingleton, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic GeoCoderProducer(GeoCoderEndpoint endpoint)
protected void processCurrentLocation(org.apache.camel.Exchange exchange)
throws Exception
Exceptionprotected void extractGeoResult(com.google.maps.model.GeocodingResult[] res,
org.apache.camel.Exchange exchange)
protected void doStart()
doStart in class org.apache.camel.impl.DefaultProducerApache Camel