public class GeoCoderProducer extends DefaultProducer
logshutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending| Constructor and Description |
|---|
GeoCoderProducer(GeoCoderEndpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart()
Implementations override this method to support customized start/stop.
|
protected void |
extractGeoResult(com.google.code.geocoder.model.GeocodeResponse res,
Exchange exchange) |
void |
process(Exchange exchange)
Processes the message exchange
|
protected void |
processCurrentLocation(Exchange exchange) |
createExchange, createExchange, createExchange, doStop, getEndpoint, isSingleton, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspendpublic GeoCoderProducer(GeoCoderEndpoint endpoint)
public void process(Exchange exchange) throws Exception
Processorexchange - the message exchangeException - if an internal processing error has occurred.protected void processCurrentLocation(Exchange exchange) throws Exception
Exceptionprotected void extractGeoResult(com.google.code.geocoder.model.GeocodeResponse res,
Exchange exchange)
protected void doStart()
throws Exception
ServiceSupportServiceSupport.doStop() for more details.doStart in class DefaultProducerExceptionServiceSupport.doStop()Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.