public class CxfProducer
extends org.apache.camel.support.DefaultAsyncProducer
| Constructor and Description |
|---|
CxfProducer(CxfEndpoint endpoint)
Constructor to create a CxfProducer.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
org.apache.cxf.endpoint.Client |
getClient() |
protected Map<String,Object> |
prepareRequest(org.apache.camel.Exchange camelExchange,
org.apache.cxf.message.Exchange cxfExchange) |
void |
process(org.apache.camel.Exchange camelExchange)
This processor binds Camel exchange to a CXF exchange and invokes the CXF client.
|
boolean |
process(org.apache.camel.Exchange camelExchange,
org.apache.camel.AsyncCallback callback) |
createExchange, getEndpoint, isSingleton, toStringbuild, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic CxfProducer(CxfEndpoint endpoint) throws Exception
endpoint - a CxfEndpoint that creates this producerException - any exception thrown during the creation of a CXF clientprotected void doStart()
throws Exception
doStart in class org.apache.camel.support.DefaultProducerExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.support.DefaultProducerExceptionpublic boolean process(org.apache.camel.Exchange camelExchange,
org.apache.camel.AsyncCallback callback)
public void process(org.apache.camel.Exchange camelExchange)
throws Exception
process in interface org.apache.camel.Processorprocess in class org.apache.camel.support.DefaultAsyncProducerExceptionprotected Map<String,Object> prepareRequest(org.apache.camel.Exchange camelExchange, org.apache.cxf.message.Exchange cxfExchange) throws Exception
Exceptionpublic org.apache.cxf.endpoint.Client getClient()
Apache Camel