org.apache.camel.component.cxf.transport
Class CamelDestination
java.lang.Object
org.apache.cxf.transport.AbstractObservable
org.apache.cxf.transport.AbstractDestination
org.apache.camel.component.cxf.transport.CamelDestination
- All Implemented Interfaces:
- org.apache.cxf.configuration.Configurable, org.apache.cxf.transport.Destination, org.apache.cxf.transport.DestinationWithEndpoint, org.apache.cxf.transport.Observable
- Direct Known Subclasses:
- CxfBeanDestination
public class CamelDestination
- extends org.apache.cxf.transport.AbstractDestination
- implements org.apache.cxf.configuration.Configurable
- Version:
- $Revision: 18641 $
| Nested classes/interfaces inherited from class org.apache.cxf.transport.AbstractDestination |
org.apache.cxf.transport.AbstractDestination.AbstractBackChannelConduit |
| Fields inherited from class org.apache.cxf.transport.AbstractDestination |
bus, endpointInfo, reference |
| Fields inherited from class org.apache.cxf.transport.AbstractObservable |
incomingObserver |
|
Constructor Summary |
CamelDestination(CamelContext camelContext,
org.apache.cxf.Bus bus,
org.apache.cxf.transport.ConduitInitiator ci,
org.apache.cxf.service.model.EndpointInfo info)
|
CamelDestination(CamelContext camelContext,
org.apache.cxf.Bus bus,
org.apache.cxf.transport.ConduitInitiator ci,
org.apache.cxf.service.model.EndpointInfo info,
HeaderFilterStrategy headerFilterStrategy,
boolean checkException)
|
| 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 |
BASE_BEAN_NAME_SUFFIX
protected static final String BASE_BEAN_NAME_SUFFIX
- See Also:
- Constant Field Values
CamelDestination
public CamelDestination(CamelContext camelContext,
org.apache.cxf.Bus bus,
org.apache.cxf.transport.ConduitInitiator ci,
org.apache.cxf.service.model.EndpointInfo info)
throws IOException
- Throws:
IOException
CamelDestination
public CamelDestination(CamelContext camelContext,
org.apache.cxf.Bus bus,
org.apache.cxf.transport.ConduitInitiator ci,
org.apache.cxf.service.model.EndpointInfo info,
HeaderFilterStrategy headerFilterStrategy,
boolean checkException)
throws IOException
- Throws:
IOException
getLogger
protected Logger getLogger()
- Specified by:
getLogger in class org.apache.cxf.transport.AbstractObservable
setCheckException
public void setCheckException(boolean exception)
isCheckException
public boolean isCheckException()
getInbuiltBackChannel
protected org.apache.cxf.transport.Conduit getInbuiltBackChannel(org.apache.cxf.message.Message inMessage)
- Specified by:
getInbuiltBackChannel in class org.apache.cxf.transport.AbstractDestination
- Parameters:
inMessage - the incoming message
- Returns:
- the inbuilt backchannel
activate
public void activate()
- Overrides:
activate in class org.apache.cxf.transport.AbstractObservable
deactivate
public void deactivate()
- Overrides:
deactivate in class org.apache.cxf.transport.AbstractObservable
shutdown
public void shutdown()
- Specified by:
shutdown in interface org.apache.cxf.transport.Destination- Overrides:
shutdown in class org.apache.cxf.transport.AbstractDestination
getCamelTemplate
public ProducerTemplate getCamelTemplate()
throws Exception
- Throws:
Exception
setCamelTemplate
public void setCamelTemplate(ProducerTemplate template)
setCamelContext
public void setCamelContext(CamelContext context)
getCamelContext
public CamelContext getCamelContext()
incoming
protected void incoming(Exchange camelExchange)
getBeanName
public String getBeanName()
- Specified by:
getBeanName in interface org.apache.cxf.configuration.Configurable
getCamelDestinationUri
public String getCamelDestinationUri()
markPartialResponse
protected boolean markPartialResponse(org.apache.cxf.message.Message partialResponse,
org.apache.cxf.ws.addressing.EndpointReferenceType decoupledTarget)
- Mark message as a partial message.
- Overrides:
markPartialResponse in class org.apache.cxf.transport.AbstractDestination
- Parameters:
partialResponse - the partial response messagedecoupledTarget - the decoupled target
- Returns:
- true if partial responses is supported
getConduitInitiator
protected org.apache.cxf.transport.ConduitInitiator getConduitInitiator()
- Overrides:
getConduitInitiator in class org.apache.cxf.transport.AbstractDestination
- Returns:
- the associated conduit initiator
propagateResponseHeadersToCamel
protected void propagateResponseHeadersToCamel(org.apache.cxf.message.Message outMessage,
Exchange camelExchange)
- Parameters:
outMessage - camelExchange -
Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.