org.apache.camel.component.cxf
Class CxfProducer
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultProducer
org.apache.camel.component.cxf.CxfProducer
- All Implemented Interfaces:
- IsSingleton, Processor, Producer, Service, ShutdownableService
public class CxfProducer
- extends DefaultProducer
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.
- Version:
- $Revision: 19607 $
|
Method Summary |
org.apache.cxf.endpoint.Client |
getClient()
|
void |
process(Exchange camelExchange)
This processor binds Camel exchange to a CXF exchange and
invokes the CXF client. |
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, doShutdown, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, shutdown, start, stop |
CxfProducer
public CxfProducer(CxfEndpoint endpoint)
throws Exception
- Constructor to create a CxfProducer. It will create a CXF client
object.
- Parameters:
endpoint - a CxfEndpoint that creates this producer
- Throws:
Exception - any exception thrown during the creation of a
CXF client
process
public void process(Exchange camelExchange)
throws Exception
- This processor binds Camel exchange to a CXF exchange and
invokes the CXF client.
- Throws:
Exception
getClient
public org.apache.cxf.endpoint.Client getClient()
Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.