public class GeoCoderGoogleProducer
extends org.apache.camel.support.DefaultProducer
| Constructor and Description |
|---|
GeoCoderGoogleProducer(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, doStop, getEndpoint, isSingleton, toStringbuild, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic GeoCoderGoogleProducer(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.support.DefaultProducerApache Camel