org.apache.camel.component.cxf.jaxrs
Class CxfRsConsumer
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultConsumer
org.apache.camel.component.cxf.jaxrs.CxfRsConsumer
- All Implemented Interfaces:
- Consumer, Service, ShutdownableService
public class CxfRsConsumer
- extends DefaultConsumer
A Consumer of exchanges for a JAXRS service in CXF. CxfRsConsumer acts a CXF
service to receive REST requests, convert them to a normal java object invocation,
and forward them to Camel route for processing.
It is also responsible for converting and sending back responses to CXF client.
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, doShutdown, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, shutdown, start, stop |
CxfRsConsumer
public CxfRsConsumer(CxfRsEndpoint endpoint,
Processor processor)
doStart
protected void doStart()
throws Exception
- Overrides:
doStart in class DefaultConsumer
- Throws:
Exception
doStop
protected void doStop()
throws Exception
- Overrides:
doStop in class DefaultConsumer
- Throws:
Exception
getServer
public org.apache.cxf.endpoint.Server getServer()
Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.