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:
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 CamelDestination
implements Processor

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

Version:
$Revision: 13809 $

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.camel.component.cxf.transport.CamelDestination
CamelDestination.BackChannelConduit, 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(Exchange camelExchange)
          Processes the message exchange
protected  void propagateResponseHeadersToCamel(org.apache.cxf.message.Message outMessage, Exchange camelExchange)
           
 
Methods inherited from class org.apache.camel.component.cxf.transport.CamelDestination
getBeanName, getCamelContext, getCamelDestinationUri, getCamelTemplate, getConduitInitiator, getInbuiltBackChannel, getLogger, incoming, isCheckException, markPartialResponse, setCamelContext, setCamelTemplate, 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 CamelDestination

deactivate

public void deactivate()
Overrides:
deactivate in class CamelDestination

process

public void process(Exchange camelExchange)
             throws Exception
Description copied from interface: Processor
Processes the message exchange

Specified by:
process in interface Processor
Parameters:
camelExchange - the message exchange
Throws:
Exception - if an internal processing error has occurred.

propagateResponseHeadersToCamel

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


Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.