org.apache.camel.component.cxf.cxfbean
Class CxfBeanDestination

java.lang.Object
  extended by org.apache.cxf.transport.AbstractObservable
      extended by org.apache.cxf.transport.AbstractDestination
          extended by org.apache.camel.component.cxf.transport.CamelDestination
              extended by org.apache.camel.component.cxf.cxfbean.CxfBeanDestination
All Implemented Interfaces:
org.apache.camel.Processor, org.apache.cxf.configuration.Configurable, org.apache.cxf.transport.Destination, org.apache.cxf.transport.DestinationWithEndpoint, org.apache.cxf.transport.Observable

public class CxfBeanDestination
extends org.apache.camel.component.cxf.transport.CamelDestination
implements org.apache.camel.Processor

A CXF transport Destination that listens Camel Exchange from an associated CxfBeanEndpoint.

Version:

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.camel.component.cxf.transport.CamelDestination
org.apache.camel.component.cxf.transport.CamelDestination.BackChannelConduit, org.apache.camel.component.cxf.transport.CamelDestination.ConsumerProcessor
 
Nested classes/interfaces inherited from class org.apache.cxf.transport.AbstractDestination
org.apache.cxf.transport.AbstractDestination.AbstractBackChannelConduit
 
Field Summary
 
Fields inherited from class org.apache.camel.component.cxf.transport.CamelDestination
BASE_BEAN_NAME_SUFFIX
 
Fields inherited from class org.apache.cxf.transport.AbstractDestination
bus, endpointInfo, reference
 
Fields inherited from class org.apache.cxf.transport.AbstractObservable
incomingObserver
 
Constructor Summary
CxfBeanDestination(CxfBeanComponent cxfBeanComponent, org.apache.cxf.Bus bus, org.apache.cxf.transport.ConduitInitiator conduitInitiator, org.apache.cxf.service.model.EndpointInfo endpointInfo)
           
 
Method Summary
 void activate()
           
 void deactivate()
           
 void process(org.apache.camel.Exchange camelExchange)
           
protected  void propagateResponseHeadersToCamel(org.apache.cxf.message.Message outMessage, org.apache.camel.Exchange camelExchange)
           
 
Methods inherited from class org.apache.camel.component.cxf.transport.CamelDestination
getBeanName, getCamelContext, getCamelDestinationUri, getConduitInitiator, getInbuiltBackChannel, getLogger, incoming, isCheckException, markPartialResponse, setCamelContext, setCheckException, shutdown
 
Methods inherited from class org.apache.cxf.transport.AbstractDestination
getAddress, getBackChannel, getEndpointInfo
 
Methods inherited from class org.apache.cxf.transport.AbstractObservable
getMessageObserver, getTargetReference, getTargetReference, setMessageObserver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cxf.transport.Destination
getMessageObserver
 
Methods inherited from interface org.apache.cxf.transport.Observable
setMessageObserver
 

Constructor Detail

CxfBeanDestination

public CxfBeanDestination(CxfBeanComponent cxfBeanComponent,
                          org.apache.cxf.Bus bus,
                          org.apache.cxf.transport.ConduitInitiator conduitInitiator,
                          org.apache.cxf.service.model.EndpointInfo endpointInfo)
                   throws IOException
Throws:
IOException
Method Detail

activate

public void activate()
Overrides:
activate in class org.apache.camel.component.cxf.transport.CamelDestination

deactivate

public void deactivate()
Overrides:
deactivate in class org.apache.camel.component.cxf.transport.CamelDestination

process

public void process(org.apache.camel.Exchange camelExchange)
             throws Exception
Specified by:
process in interface org.apache.camel.Processor
Throws:
Exception

propagateResponseHeadersToCamel

protected void propagateResponseHeadersToCamel(org.apache.cxf.message.Message outMessage,
                                               org.apache.camel.Exchange camelExchange)
Overrides:
propagateResponseHeadersToCamel in class org.apache.camel.component.cxf.transport.CamelDestination


Apache CAMEL