public class WeatherProducer extends DefaultProducer
logshutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending| Constructor and Description |
|---|
WeatherProducer(WeatherEndpoint endpoint,
String query) |
| Modifier and Type | Method and Description |
|---|---|
WeatherEndpoint |
getEndpoint()
Gets the endpoint associated with an object.
|
void |
process(Exchange exchange)
Processes the message exchange
|
createExchange, createExchange, createExchange, doStart, doStop, isSingleton, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic WeatherProducer(WeatherEndpoint endpoint, String query)
public WeatherEndpoint getEndpoint()
EndpointAwareProducer
or for consuming from for components like Consumer or RoutegetEndpoint in interface EndpointAwaregetEndpoint in class DefaultProducerCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.