org.apache.camel.component.restlet
Class RestletProducer
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultProducer
org.apache.camel.component.restlet.RestletProducer
- All Implemented Interfaces:
- IsSingleton, Processor, Producer, Service, ShutdownableService
public class RestletProducer
- extends DefaultProducer
A Camel producer that acts as a client to Restlet server.
- Version:
- $Revision: 21042 $
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, removeChildService, resume, shutdown, start, start, stop, suspend |
RestletProducer
public RestletProducer(RestletEndpoint endpoint)
throws Exception
- Throws:
Exception
doStart
public void doStart()
throws Exception
- Overrides:
doStart in class DefaultProducer
- Throws:
Exception
doStop
public void doStop()
throws Exception
- Overrides:
doStop in class DefaultProducer
- Throws:
Exception
process
public void process(Exchange exchange)
throws Exception
- Description copied from interface:
Processor
- Processes the message exchange
- Parameters:
exchange - the message exchange
- Throws:
Exception - if an internal processing error has occurred.
Apache CAMEL