|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultProducer
org.apache.camel.component.cxf.CxfProducer
public class CxfProducer
CxfProducer binds a Camel exchange to a CXF exchange, acts as a CXF client, and sends the request to a CXF to a server. Any response will be bound to Camel exchange.
| Field Summary |
|---|
| Fields inherited from class org.apache.camel.impl.DefaultProducer |
|---|
log |
| Constructor Summary | |
|---|---|
CxfProducer(CxfEndpoint endpoint)
Constructor to create a CxfProducer. |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.apache.camel.impl.DefaultProducer |
|---|
createExchange, createExchange, createExchange, doStart, doStop, getEndpoint, isSingleton, toString |
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.camel.Service |
|---|
start, stop |
| Constructor Detail |
|---|
public CxfProducer(CxfEndpoint endpoint)
throws Exception
endpoint - a CxfEndpoint that creates this producer
Exception - any exception thrown during the creation of a
CXF client| Method Detail |
|---|
public boolean process(org.apache.camel.Exchange camelExchange,
org.apache.camel.AsyncCallback callback)
process in interface org.apache.camel.AsyncProcessor
public void process(org.apache.camel.Exchange camelExchange)
throws Exception
process in interface org.apache.camel.ProcessorException
protected Map<String,Object> prepareRequest(org.apache.camel.Exchange camelExchange,
org.apache.cxf.message.Exchange cxfExchange)
throws Exception
Exceptionpublic org.apache.cxf.endpoint.Client getClient()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||