Class CamelTransportFactory
java.lang.Object
org.apache.cxf.transport.AbstractTransportFactory
org.apache.camel.component.cxf.transport.CamelTransportFactory
- All Implemented Interfaces:
org.apache.camel.CamelContextAware,org.apache.camel.spi.HasCamelContext,org.apache.cxf.transport.ConduitInitiator,org.apache.cxf.transport.DestinationFactory
public class CamelTransportFactory
extends org.apache.cxf.transport.AbstractTransportFactory
implements org.apache.cxf.transport.ConduitInitiator, org.apache.cxf.transport.DestinationFactory, org.apache.camel.CamelContextAware
-
Field Summary
FieldsFields inherited from class org.apache.cxf.transport.AbstractTransportFactory
PREFERRED_TRANSPORT_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.camel.CamelContextorg.apache.cxf.transport.ConduitgetConduit(org.apache.cxf.service.model.EndpointInfo targetInfo) org.apache.cxf.transport.ConduitgetConduit(org.apache.cxf.service.model.EndpointInfo targetInfo, org.apache.cxf.Bus b) org.apache.cxf.transport.ConduitgetConduit(org.apache.cxf.service.model.EndpointInfo endpointInfo, org.apache.cxf.ws.addressing.EndpointReferenceType target) org.apache.cxf.transport.ConduitgetConduit(org.apache.cxf.service.model.EndpointInfo localInfo, org.apache.cxf.ws.addressing.EndpointReferenceType target, org.apache.cxf.Bus b) org.apache.cxf.transport.DestinationgetDestination(org.apache.cxf.service.model.EndpointInfo endpointInfo) org.apache.cxf.transport.DestinationgetDestination(org.apache.cxf.service.model.EndpointInfo ei, org.apache.cxf.Bus b) org.apache.camel.spi.HeaderFilterStrategybooleanfinal voidvoidsetBus(org.apache.cxf.Bus b) voidsetCamelContext(org.apache.camel.CamelContext c) voidsetCheckException(boolean check) voidsetHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy) final voidMethods inherited from class org.apache.cxf.transport.AbstractTransportFactory
getTransportIds, setTransportIdsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cxf.transport.ConduitInitiator
getTransportIdsMethods inherited from interface org.apache.cxf.transport.DestinationFactory
getTransportIds
-
Field Details
-
TRANSPORT_ID
- See Also:
-
DEFAULT_NAMESPACES
-
-
Constructor Details
-
CamelTransportFactory
public CamelTransportFactory() -
CamelTransportFactory
public CamelTransportFactory(org.apache.cxf.Bus b)
-
-
Method Details
-
setCheckException
public void setCheckException(boolean check) -
isCheckException
public boolean isCheckException() -
getConduit
public org.apache.cxf.transport.Conduit getConduit(org.apache.cxf.service.model.EndpointInfo targetInfo) throws IOException - Throws:
IOException
-
getConduit
public org.apache.cxf.transport.Conduit getConduit(org.apache.cxf.service.model.EndpointInfo endpointInfo, org.apache.cxf.ws.addressing.EndpointReferenceType target) throws IOException - Throws:
IOException
-
getDestination
public org.apache.cxf.transport.Destination getDestination(org.apache.cxf.service.model.EndpointInfo endpointInfo) throws IOException - Throws:
IOException
-
getUriPrefixes
- Specified by:
getUriPrefixesin interfaceorg.apache.cxf.transport.ConduitInitiator- Specified by:
getUriPrefixesin interfaceorg.apache.cxf.transport.DestinationFactory- Overrides:
getUriPrefixesin classorg.apache.cxf.transport.AbstractTransportFactory
-
getHeaderFilterStrategy
public org.apache.camel.spi.HeaderFilterStrategy getHeaderFilterStrategy() -
setHeaderFilterStrategy
public void setHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy) -
getCamelContext
public org.apache.camel.CamelContext getCamelContext()- Specified by:
getCamelContextin interfaceorg.apache.camel.spi.HasCamelContext
-
setCamelContext
public void setCamelContext(org.apache.camel.CamelContext c) - Specified by:
setCamelContextin interfaceorg.apache.camel.CamelContextAware
-
getDestination
public org.apache.cxf.transport.Destination getDestination(org.apache.cxf.service.model.EndpointInfo ei, org.apache.cxf.Bus b) throws IOException - Specified by:
getDestinationin interfaceorg.apache.cxf.transport.DestinationFactory- Throws:
IOException
-
getConduit
public org.apache.cxf.transport.Conduit getConduit(org.apache.cxf.service.model.EndpointInfo targetInfo, org.apache.cxf.Bus b) throws IOException - Specified by:
getConduitin interfaceorg.apache.cxf.transport.ConduitInitiator- Throws:
IOException
-
getConduit
public org.apache.cxf.transport.Conduit getConduit(org.apache.cxf.service.model.EndpointInfo localInfo, org.apache.cxf.ws.addressing.EndpointReferenceType target, org.apache.cxf.Bus b) throws IOException - Specified by:
getConduitin interfaceorg.apache.cxf.transport.ConduitInitiator- Throws:
IOException
-
setBus
public void setBus(org.apache.cxf.Bus b) -
registerFactory
public final void registerFactory() -
unregisterFactory
public final void unregisterFactory()
-