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.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
Fields Modifier and Type Field Description static List<String>DEFAULT_NAMESPACESstatic StringTRANSPORT_ID
-
Constructor Summary
Constructors Constructor Description CamelTransportFactory()CamelTransportFactory(org.apache.cxf.Bus b)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.camel.CamelContextgetCamelContext()org.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.HeaderFilterStrategygetHeaderFilterStrategy()Set<String>getUriPrefixes()booleanisCheckException()voidregisterFactory()voidsetBus(org.apache.cxf.Bus b)voidsetCamelContext(org.apache.camel.CamelContext c)voidsetCheckException(boolean check)voidsetHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)voidunregisterFactory()-
Methods inherited from class org.apache.cxf.transport.AbstractTransportFactory
getTransportIds, setTransportIds
-
-
-
-
Field Detail
-
TRANSPORT_ID
public static final String TRANSPORT_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
public Set<String> 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.CamelContextAware
-
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()
-
-