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
public class RestletProducer
- extends DefaultProducer
A Camel producer that acts as a client to Restlet server.
- Version:
- $Revision: 778399 $
Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, start, stop |
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
- Throws:
Exception
Apache CAMEL